summaryrefslogtreecommitdiff
path: root/git-request-pull.sh
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2008-07-09 00:32:15 +0100
committerJunio C Hamano <gitster@pobox.com>2008-07-13 16:08:27 -0700
commit74982056fa47a7c1c060ddaa5e363c57bc6bbacd (patch)
tree1ef7a2aa478c33a87aa42b8e26695e4791ac7a6b /git-request-pull.sh
parent7970aaf0fb65ad3e9f61d0ede6f211125732495d (diff)
downloadgit-74982056fa47a7c1c060ddaa5e363c57bc6bbacd.tar.gz
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>
Diffstat (limited to 'git-request-pull.sh')
-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