]> git.wh0rd.org Git - home.git/commitdiff
fall back to sendemail.pullrequestcc for git-format-request-pull
authorMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:36:04 +0000 (21:36 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:33 +0000 (15:36 -0400)
.bin/git-format-request-pull

index a122ebde65c2af41a28886a6b8fd587f448dd95a..73cf165cd999bdf20e99f37a66fd2fb67f5eb007 100755 (executable)
@@ -45,7 +45,7 @@ EOF
 cat ${tmp}
 
 to=$(git config --get sendemail.pullrequest)
-cc=$(git config --get sendemail.to)
+cc=$(git config --get sendemail.to || git config --get sendemail.pullrequestcc)
 if ${auto} ; then
        git send-email --to "${to}" --cc "${cc}" ${tmp}
 else