From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
To: "D. Ben Knoble" <ben.knoble@gmail.com>,
"Junio C Hamano" <gitster@pobox.com>
Cc: "Bence Csókás" <bence.csokas@arm.com>,
git@vger.kernel.org, "Jeff King" <peff@peff.net>
Subject: Re: [Bug] Porcelain allows creation of '@' branch
Date: Fri, 16 Oct 2026 20:21:40 +0200 [thread overview]
Message-ID: <d7450b0c-89ad-4963-9229-198f40cf72c1@app.fastmail.com> (raw)
In-Reply-To: <CALnO6CA7vxpmhVB3pi3gpVcbtCS_yHtA+a1Ud25P00JDAqboAA@mail.gmail.com>
On Fri, Oct 16, 2026, at 20:09, D. Ben Knoble wrote:
> On Fri, Oct 16, 2026 at 11:35 AM Junio C Hamano <gitster@pobox.com> wrote:
>>
>> Bence Csókás <bence.csokas@arm.com> writes:
>>
>> > On 2026. 09. 03. 14:35, Bence Csókás wrote:
>>>>>[snip]
>> >> Bence
>> >
>> > P.S.:
>> >
>> > $ history | grep 'git .*@' | wc -l
>> > 74
>> > $ history | grep HEAD | wc -l
>> > 0
>> >
>> > ;)
>>
>> You have some unlearning of a bad habit to do, then ;-)
>
> Phaw! What's good (short and easy to type) for interactive use may not
> be great for scripts, sure, (in which case spelling out long options,
> writing HEAD, etc., is advisable).
>
> But shorthands are convenient day-to-day. What's a bad habit about that?
>
> (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]
🔗 1: https://lore.kernel.org/git/xmqqy12z7eti.fsf@gitster.g/
next prev parent reply other threads:[~2026-10-16 18:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 14:22 [Bug] Porcelain allows creation of '@' branch Bence Csókás
2026-08-31 19:59 ` D. Ben Knoble
2026-09-02 7:37 ` Jeff King
2026-09-03 8:38 ` Kristoffer Haugsbakk
2026-09-03 12:35 ` Bence Csókás
2026-09-03 15:14 ` Ben Knoble
2026-09-03 18:45 ` Junio C Hamano
2026-09-06 7:56 ` Kristoffer Haugsbakk
2026-10-15 7:58 ` Bence Csókás
2026-10-16 15:35 ` Junio C Hamano
2026-10-16 18:09 ` D. Ben Knoble
2026-10-16 18:21 ` Kristoffer Haugsbakk [this message]
2026-10-16 18:52 ` Junio C Hamano
2026-10-17 16:43 ` Kristoffer Haugsbakk
2026-10-17 16:59 ` Junio C Hamano
2026-10-16 18:40 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d7450b0c-89ad-4963-9229-198f40cf72c1@app.fastmail.com \
--to=kristofferhaugsbakk@fastmail.com \
--cc=ben.knoble@gmail.com \
--cc=bence.csokas@arm.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox