diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2008-07-09 00:32:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-13 16:08:27 -0700 |
commit | 74982056fa47a7c1c060ddaa5e363c57bc6bbacd (patch) | |
tree | 1ef7a2aa478c33a87aa42b8e26695e4791ac7a6b | |
parent | Make rebase--interactive use OPTIONS_SPEC (diff) | |
download | tgif-74982056fa47a7c1c060ddaa5e363c57bc6bbacd.tar.xz |
git-request-pull: replace call to deprecated peek-remote
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-request-pull.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-request-pull.sh b/git-request-pull.sh index 068f5e0fc7..073a314c80 100755 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@ -26,7 +26,7 @@ merge_base=`git merge-base $baserev $headrev` || die "fatal: No commits in common between $base and $head" url=$(get_remote_url "$url") -branch=$(git peek-remote "$url" \ +branch=$(git ls-remote "$url" \ | sed -n -e "/^$headrev refs.heads./{ s/^.* refs.heads.// p |