Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-20 13:57:26 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-25 03:50:50 +0400
commite0bfc81e05e57679916ab070c8fb2525f24771d4 (patch)
tree8c986688f21d71abcb232e5bd9c638cbee39bc3d /git-ls-remote-script
parent853a3697dc2bc609650c38ed03a1f8fa9f145f97 (diff)
[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-$$