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

Re: [Bug] Porcelain allows creation of '@' branch

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 16, 2026, 18:52 UTC
Message-ID
<xmqqh5ilfpfj.fsf@gitster.g>
In-Reply-To
<d7450b0c-89ad-4963-9229-198f40cf72c1@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 5 quoted lines
>> (Besides, the OP's grep also counts uses of
>> @{upstream}/@{u}/@{push}/reflog syntax/etc.)
>
> I set up `git symbolic-ref refs/H HEAD` after my first `@`
> conversation.[1]

That is funny and clever, but unfortunately it does not help solving the problem that the @-shorthand "conveniently" squats there to make your use of a branch named "@" hard or impossible.

Previous: Kristoffer HaugsbakkNext: Kristoffer Haugsbakk
Message 13 of 16 in “[Bug] Porcelain allows creation of '@' branch”
  1. Bence CsókásAug 31, 2026
  2. D. Ben KnobleAug 31, 2026
  3. Jeff KingSep 2, 2026
  4. Kristoffer HaugsbakkSep 3, 2026
  5. Bence CsókásSep 3, 2026
  6. Ben KnobleSep 3, 2026
  7. Junio C HamanoSep 3, 2026
  8. Kristoffer HaugsbakkSep 6, 2026
  9. Bence CsókásOct 15, 2026
  10. Junio C HamanoOct 16, 2026
  11. D. Ben KnobleOct 16, 2026
  12. Kristoffer HaugsbakkOct 16, 2026
  13. Junio C HamanoOct 16, 2026
  14. Kristoffer HaugsbakkOct 17, 2026
  15. Junio C HamanoOct 17, 2026
  16. Junio C HamanoOct 16, 2026

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.