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

[RFC] Branch naming -- allowed characters?

From
Jari Aalto <jari.aalto@cante.net>
Date
Aug 26, 2007, 08:54 UTC
Message-ID
<bqcuhe0c.fsf@cante.net>

I just noticed this while trying to track quilt project and making a local branch with name '.pc':

    'fatal: '.pc' is not a valid branch name.'

Would it be possible to allow using arbitrary names with branches in future git, even UTF-8?

If that is not possible, would it be possible to at least broaden the charcter set with regular typeable US ascii letters, excluding the control ones. Something found in filenames/URLs. Like regexp:

    [][{}()_=+%!&@#~*.:;,/A-Za-z-]
Jari
[*] Emacs even saves with names like: *Messages*
Next: Petr Baudis
Message 1 of 2 in “[RFC] Branch naming -- allowed characters?”
  1. Jari AaltoAug 26, 2007
  2. Petr BaudisAug 26, 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.