]> git.wh0rd.org - home.git/commitdiff
make pull request more configurable
authorMike Frysinger <vapier@gentoo.org>
Thu, 6 Jan 2011 21:27:28 +0000 (16:27 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:37 +0000 (15:36 -0400)
.bin/git-format-request-pull

index 73cf165cd999bdf20e99f37a66fd2fb67f5eb007..b5df8fd83c3b56ea5d47d2f0bdfc420dff08e097 100755 (executable)
@@ -19,7 +19,7 @@ while [[ -n $1 ]] ; do
 done
 
 commit=${1:-mainline/master}
-url=$(git config --get remote.origin.url)
+url=$(git config --get remote.pullrequest.url || git config --get remote.origin.url)
 branch=${2:-master}
 if [[ ${branch} != master ]] ; then
        subject=" (${branch} branch)"