X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-request-pull.sh;h=fc080cc5e45d02e618e7224c052de1be676f4360;hb=698a9ab3f104b369e41ad26ad0bdaedc3a1d5f4f;hp=6fdea397ddec3cfa4ff37cdf672e7cced840bb60;hpb=3967c995eed9f4046a1dde5ef520d1dbcdedfab8;p=git.git diff --git a/git-request-pull.sh b/git-request-pull.sh index 6fdea397d..fc080cc5e 100755 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@ -15,7 +15,6 @@ p show patch text as well ' . git-sh-setup -. git-parse-remote GIT_PAGER= export GIT_PAGER @@ -55,7 +54,7 @@ branch=$(git ls-remote "$url" \ p q }") -url=$(get_remote_url "$url") +url=$(git ls-remote --get-url "$url") if [ -z "$branch" ]; then echo "warn: No branch of $url is at:" >&2 git log --max-count=1 --pretty='tformat:warn: %h: %s' $headrev >&2