From: Ramsay Jones Date: Tue, 8 Jul 2008 23:32:15 +0000 (+0100) Subject: git-request-pull: replace call to deprecated peek-remote X-Git-Tag: v1.6.0-rc0~80 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74982056fa47a7c1c060ddaa5e363c57bc6bbacd;p=git.git git-request-pull: replace call to deprecated peek-remote Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- 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