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

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

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Sep 6, 2026, 07:56 UTC
Message-ID
<2e2dcf60-4175-4cc4-8379-f6618340da40@app.fastmail.com>
In-Reply-To
<xmqqmrtyb2dd.fsf@gitster.g>
On Thu, Sep 3, 2026, at 20:45, Junio C Hamano wrote:
Show 20 quoted lines
> Ben Knoble <ben.knoble@gmail.com> writes:
>
>>> Le 3 sept. 2026 à 08:36, Bence Csókás <bence.csokas@arm.com> a écrit :
>>>
>>> On 2026. 09. 03. 10:38, Kristoffer Haugsbakk wrote:
>>>> Not a bug (2024) https://lore.kernel.org/git/xmqqy12z7eti.fsf@gitster.g/
>>>>
>>>>     I suspect that it is much more productive to deprecate and remove
>>>>     "@" that is a built-in synomym for HEAD (but "refs/remotes/origin/@"
>>>>     does not act as a synonym for "refs/remotes/origin/HEAD"). [...]
>>> I would not want to see @ removed, I have abandoned using HEAD years
>>> ago, too much typing (especially if you want to express more complex
>>> things, e.g. `git range-diff long-branch-name{^..otherbranch,..@}`, to
>>> pick an example out of my bash-history).
>>
>> Ditto, though thanks for digging up the reference. It will surely be important to justify when proposing to tighten the branch-mode rules.
>
> It is very unfortunate that the quote is partial and incomplete,
> though, and would not be a good input for people to decide on their
> own.

Sorry that I misrepresented your post. The gist to me was that you weren’t interested in more code to deal with the `@` shorthand.

Previous: Junio C HamanoNext: Bence Csókás
Message 8 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.