Skip to content

Commit 7498205

Browse files
Ramsay Jonesgitster
authored andcommitted
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>
1 parent 7970aaf commit 7498205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-request-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ merge_base=`git merge-base $baserev $headrev` ||
2626
die "fatal: No commits in common between $base and $head"
2727

2828
url=$(get_remote_url "$url")
29-
branch=$(git peek-remote "$url" \
29+
branch=$(git ls-remote "$url" \
3030
| sed -n -e "/^$headrev refs.heads./{
3131
s/^.* refs.heads.//
3232
p

0 commit comments

Comments
 (0)