From: Mike Frysinger Date: Thu, 17 Sep 2009 01:36:04 +0000 (-0400) Subject: fall back to sendemail.pullrequestcc for git-format-request-pull X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fc26d5d928afd6b3576de896fe313db5a4baf5cf;p=home.git fall back to sendemail.pullrequestcc for git-format-request-pull --- diff --git a/.bin/git-format-request-pull b/.bin/git-format-request-pull index a122ebd..73cf165 100755 --- a/.bin/git-format-request-pull +++ b/.bin/git-format-request-pull @@ -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