From 74982056fa47a7c1c060ddaa5e363c57bc6bbacd Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Wed, 9 Jul 2008 00:32:15 +0100 Subject: [PATCH] git-request-pull: replace call to deprecated peek-remote Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- git-request-pull.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-request-pull.sh b/git-request-pull.sh index 068f5e0fc..073a314c8 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 -- 2.30.2