From e0bfc81e05e57679916ab070c8fb2525f24771d4 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 20 Aug 2005 02:57:26 -0700 Subject: [PATCH] Retire git-parse-remote. Update git-pull to match updated git-fetch and allow pull to fetch from multiple remote references. There is no support for resolving more than two heads, which will be done with "git octopus". Update "git ls-remote" to use git-parse-remote-script. Signed-off-by: Junio C Hamano --- git-ls-remote-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-ls-remote-script') diff --git a/git-ls-remote-script b/git-ls-remote-script index 75f6027866..061a23135c 100755 --- a/git-ls-remote-script +++ b/git-ls-remote-script @@ -29,8 +29,8 @@ case ",$heads,$tags," in ,,,) heads=heads tags=tags other=other ;; esac -. git-parse-remote "$1" -peek_repo="$_remote_repo" +. git-parse-remote-script +peek_repo="$(get_remote_url "$@")" shift tmp=.ls-remote-$$ -- cgit v1.3