From: Junio C Hamano Date: Sun, 22 Jan 2006 03:41:34 GMT Subject: Re: [PATCH] git-{fetch,peek-remote} handling of --upload-pack Message-ID: <7vlkx9gc9d.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Michal Ostrowski writes: > git-peek-remote needs to handle a -u|--upload-pack parameter just like > git-fetch (and git-fetch has to pass it on to git-peek-remote). > > (This is actually a follow-up to my previous git-fetch patch.) Thanks. Everything else looks good, but I have one question. What is this hunk about? > diff --git a/git-ls-remote.sh b/git-ls-remote.sh > index f699268..64f37af 100755 > --- a/git-ls-remote.sh > +++ b/git-ls-remote.sh >... > @@ -34,7 +41,7 @@ case ",$heads,$tags," in > esac > > . git-parse-remote > -peek_repo="$(get_remote_url "$@")" > +peek_repo="$(get_remote_url $*)" > shift > > tmp=.ls-remote-$$