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

Re: Where has "git ls-remote" reference pattern matching gone?

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Dec 9, 2007, 02:20 UTC
Message-ID
<Pine.LNX.4.64.0712082048570.5349@iabervon.org>
In-Reply-To
<7vve78tzw1.fsf@gitster.siamese.dyndns.org>
On Sat, 8 Dec 2007, Junio C Hamano wrote:
Show 7 quoted lines
> Eyvind Bernhardsen <eyvind-git@orakel.ntnu.no> writes:
> 
> > ls-remote was recently made a builtin; was reference filtering
> > deliberately removed, or was it just lost in translation from the
> > shell script?
> 
> I suspect that to be the case.  Daniel, I think this is yours.

Ah, sure enough. I didn't see that feature there, I guess. Am I right that it's supposed to have "git ls-remote origin db/*" return refs of the form "*/db/*", interpreted as for globs?

Eyvind: can I get a test case? I haven't ever used this feature, and I'm 
not sure I'll implement it correctly.
	-Daniel
*This .sig left intentionally blank*
Previous: Junio C HamanoNext: Eyvind Bernhardsen
Message 3 of 4 in “Where has "git ls-remote" reference pattern matching gone?”
  1. Eyvind BernhardsenDec 8, 2007
  2. Junio C HamanoDec 9, 2007
  3. Daniel BarkalowDec 9, 2007
  4. Eyvind BernhardsenDec 9, 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.