Permalink
Browse files

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>
  • Loading branch information...
1 parent 7970aaf commit 74982056fa47a7c1c060ddaa5e363c57bc6bbacd Ramsay Jones committed with gitster Jul 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-request-pull.sh
View
@@ -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

0 comments on commit 7498205

Please sign in to comment.