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

Re: [PATCH/RFC] git-svn: sanitize_remote_name should accept underscores.

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 25, 2008, 07:11 UTC
Message-ID
<7vfxr23s6m.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080625065556.GM21299@hand.yhbt.net>
Eric Wong <normalperson@yhbt.net> writes:
> Wait, nevermind, this is for remotes, not remote *branches*.
>
> Umm... are underscores now allowed in git config files?
In
	[foo "bar"] baz = value

foo and baz must be config.c::iskeychar() (and baz must be isalpha()), but "bar" can be almost anything.

Isn't "not underscore" coming from DNS hostname part restriction?
Previous: Eric WongNext: Eric Wong
Message 4 of 7 in “git-svn: sanitize_remote_name should accept underscores.”
  1. git-svn: sanitize_remote_name should accept underscores.Avery Pennarun, Jun 24, 2008
  2. Eric WongJun 25, 2008
  3. Eric WongJun 25, 2008
  4. Junio C HamanoJun 25, 2008
  5. Eric WongJun 25, 2008
  6. Avery PennarunJun 25, 2008
  7. git-svn: don't sanitize remote names in configEric Wong, Jun 29, 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.