@matheusbsbs / matheus-bagliano / commits / 74982056fa
Fork 0

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>

Ramsay Jones committed Jul 9, 2008 at 00:32 UTC 74982056fa47a7c1c060ddaa5e363c57bc6bbacd
1 file changed +1 -1
git-request-pull.sh
+1 -1
@@ -26,7 +26,7 @@ merge_base=`git merge-base $baserev $headrev` ||
26 die "fatal: No commits in common between $base and $head"
27
28 url=$(get_remote_url "$url")
29 -branch=$(git peek-remote "$url" \
29 +branch=$(git ls-remote "$url" \
30 | sed -n -e "/^$headrev refs.heads./{
31 s/^.* refs.heads.//
32 p