]> git.wh0rd.org - home.git/blobdiff - .bin/git-format-request-pull
make pull request more configurable
[home.git] / .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)"