summaryrefslogtreecommitdiff
path: root/git-ls-remote-script
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-08-20 02:57:26 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-24 16:50:50 -0700
commite0bfc81e05e57679916ab070c8fb2525f24771d4 (patch)
tree8c986688f21d71abcb232e5bd9c638cbee39bc3d /git-ls-remote-script
parent[PATCH] Multi-head fetch. (diff)
downloadtgif-e0bfc81e05e57679916ab070c8fb2525f24771d4.tar.xz
[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 <junkio@cox.net>
Diffstat (limited to 'git-ls-remote-script')
-rwxr-xr-xgit-ls-remote-script4
1 files changed, 2 insertions, 2 deletions
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-$$