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

Re: git fetch doesn't ignore funny refs

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Jan 5, 2014, 01:22 UTC
Message-ID
<20140105012251.GA12969@book-mint>
In-Reply-To
<52B04515.8020609@marvell.com>
On Tue, Dec 17, 2013 at 01:35:33PM +0100, Lorenzo Keller wrote:
Show 9 quoted lines
> A check as this one:
> 
> if (check_refname_format(ref->name, 0))
>    continue;
> 
> fixes the problem for me.
> 
> I report here bug and fix in the hope it can be reviewed and integrated
> in future git releases.

Since it seems you already have a fix: How about sending a proper patch (possibly you want to extend this with a warning message) so people can discuss and integrate your fix here? See Documentation/SubmittingPatches for further information.

Cheers Heiko
Previous: Lorenzo Keller
Message 2 of 2 in “git fetch doesn't ignore funny refs”
  1. Lorenzo KellerDec 17, 2013
  2. Heiko VoigtJan 5, 2014

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.