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

Re: partial globbing in fetch refspecs broken in v1.5.5

From
Jeff King <peff@peff.net>
Date
May 17, 2008, 05:22 UTC
Message-ID
<20080517052212.GC18876@sigill.intra.peff.net>
In-Reply-To
<20080516212833.GA5366@penelope.zusammrottung.local>
On Fri, May 16, 2008 at 11:28:34PM +0200, Nikolaus Schulz wrote:
> the new refspec parser in v1.5.5 has also broken fetch uses like
> 
>     git fetch <url> +refs/heads/<foo>*:refs/remotes/<bar>*. 

This was intentionally changed in ef00d150 (Tighten refspec processing). There is some associated discussion in this thread:

  http://mid.gmane.org/7vwso2ieuu.fsf@gitster.siamese.dyndns.org

But I don't see any particular reason why this syntax should not be allowed (besides, "it was never meant to be supported, so it was causing other breakage").

-Peff
Previous: Nikolaus SchulzNext: Nikolaus Schulz
Message 2 of 3 in “partial globbing in fetch refspecs broken in v1.5.5”
  1. Nikolaus SchulzMay 16, 2008
  2. Jeff KingMay 17, 2008
  3. Nikolaus SchulzMay 17, 2008

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.