]> git.wh0rd.org - home.git/blobdiff - .bin/git-format-request-pull
fall back to sendemail.pullrequestcc for git-format-request-pull
[home.git] / .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