summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsay1.demon.co.uk>2008-07-09 00:32:15 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-13 16:08:27 -0700
commit74982056fa47a7c1c060ddaa5e363c57bc6bbacd (patch)
tree1ef7a2aa478c33a87aa42b8e26695e4791ac7a6b
parentMake rebase--interactive use OPTIONS_SPEC (diff)
downloadtgif-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-xgit-request-pull.sh2
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