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

Re: BUG or FEATURE? Use of '/' in branch names

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
May 3, 2014, 07:35 UTC
Message-ID
<1399102525.2716.1.camel@spirit>
In-Reply-To
<20140502221617.GO9218@google.com>
On vr, 2014-05-02 at 15:16 -0700, Jonathan Nieder wrote:
Show 7 quoted lines
> >     $ git checkout -b hotfix/b2
> >     error: unable to resolve reference refs/heads/hotfix/b2: Not a
> directory
> >     fatal: Failed to lock ref for update: Not a directory
> >     $
> 
> That's an ugly message.  I think we can do better. (hint hint)
2.0.0-rc2 has a better message already:

$ git checkout -b hotfix/b2 error: 'refs/heads/hotfix' exists; cannot create 'refs/heads/hotfix/b2' fatal: Failed to lock ref for update: Not a directory

-- 
Dennis Kaarsemaker
www.kaarsemaker.net
Previous: Jonathan NiederNext: Michael Haggerty
Message 7 of 8 in “BUG or FEATURE? Use of '/' in branch names”
  1. Keith DerrickMay 2, 2014
  2. Felipe ContrerasMay 2, 2014
  3. Junio C HamanoMay 2, 2014
  4. Jonathan NiederMay 2, 2014
  5. Keith DerrickMay 2, 2014
  6. Jonathan NiederMay 2, 2014
  7. Dennis KaarsemakerMay 3, 2014
  8. Michael HaggertyMay 4, 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.