kpatch

  1. .bashrc
function kpatch() {
  patch=$1
  shift
  echo "================================================================================"
  ./scripts/checkpatch.pl $patch || return 1
  echo "================================================================================"
  git send-email \
    --confirm=always \
    --to-cmd="./scripts/get_maintainer.pl --norolestats --no-m $patch" \
    --cc-cmd="./scripts/get_maintainer.pl --norolestats --nol $patch" \
    $@ $patch
}

  1. .gitconfig
[sendemail]
 smtpserver = /usr/bin/esmtp
 suppresscc = self
Publish At: Author:Aiden Leong

Read more posts by this author

comments powered by Disqus
皖ICP备16015842号-1