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

Re: [PATCH] Git.pm: Add remote_refs() git-ls-remote frontend

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 31, 2007, 00:26 UTC
Message-ID
<7vr6lk5z2p.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20070830233749.4480.72281.stgit@rover>
Petr Baudis <pasky@suse.cz> writes:
Show 9 quoted lines
> Should support all the important features, I guess. Too bad that
>
> 	git-ls-remote --heads .
> 	
> is subtly different from
>
> 	git-ls-remote . refs/heads/
>
> so we have to provide the interface for specifying both.

Are they subtly different? To me they look like asking for completely different things. IIRC, the patterns are ref globs, so

	git ls-remote $URL 'refs/heads/*'
would be the same as the former one.
Show 5 quoted lines
> This patch also converts git-remote.perl to use it.
>
> Signed-off-by: Petr Baudis <pasky@suse.cz>
> ---
> This version re-adds missed out stripping of refs/heads/ in git-remote.perl.

Ah, that was the bug you were talking about on #git channel, I guess...

Previous: Petr BaudisNext: Petr Baudis
Message 7 of 9 in “Git.pm: Add remote_refs() git-ls-remote frontend”
  1. Git.pm: Add remote_refs() git-ls-remote frontendPetr Baudis, Aug 25, 2007
  2. Junio C HamanoAug 26, 2007
  3. Petr BaudisAug 26, 2007
  4. Jakub NarebskiAug 30, 2007
  5. Petr BaudisAug 30, 2007
  6. Git.pm: Add remote_refs() git-ls-remote frontendPetr Baudis, Aug 30, 2007
  7. Junio C HamanoAug 31, 2007
  8. Petr BaudisAug 31, 2007
  9. Junio C HamanoAug 31, 2007

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.