Re: [Bug] Porcelain allows creation of '@' branch
- From
- Bence Csókás <bence.csokas@arm.com>
- Date
- Sep 3, 2026, 12:35 UTC
- Message-ID
- <2006115b-bcf2-486a-ac7a-681caae686b4@arm.com>
- In-Reply-To
- <958622c0-e0a5-4e27-9815-cd1fff2ed111@app.fastmail.com>
On 2026. 09. 03. 10:38, Kristoffer Haugsbakk wrote:
Show 5 quoted lines
> 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).
Bence IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.