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
NSNikolaus Schulz <microschulz@web.de>
Date
May 17, 2008, 12:23 UTC
Message-ID
<20080517122304.GA3745@penelope.zusammrottung.local>
In-Reply-To
<20080517052212.GC18876@sigill.intra.peff.net>
On Sat, May 17, 2008 at 01:22:12AM -0400, Jeff King wrote:
Show 10 quoted lines
> 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

Ah. I had found that commit, but not this discussion, thanks. I don't understand what the problem with packing the OP ran into with his setup, though (see [1]).

> 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").
Which breakage?
Nikolaus
[1] http://article.gmane.org/gmane.comp.version-control.git/77381
Previous: Jeff King
Message 3 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.