git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-{fetch,peek-remote} handling of --upload-pack

From
Junio C Hamano <junkio@cox.net>
Date
Jan 22, 2006, 03:41 UTC
Message-ID
<7vlkx9gc9d.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<E1F019M-0003Cf-Ln@heater.watson.ibm.com>
Michal Ostrowski <mostrows@watson.ibm.com> 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?

Show 14 quoted lines
> 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-$$
Previous: Michal Ostrowski
Message 2 of 2 in “git-{fetch,peek-remote} handling of --upload-pack”
  1. git-{fetch,peek-remote} handling of --upload-packMichal Ostrowski, Jan 20, 2006
  2. Junio C HamanoJan 22, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.