Re: [PATCH v3 4/5] builtin/refs: add "create" subcommand
- From
Toon Claes <toon@iotcl.com>
- Date
- Jul 9, 2026, 10:05 UTC
- Message-ID
- <87wlv4mq9s.fsf@emacs.iotcl.com>
- In-Reply-To
- <87zf00mqv1.fsf@emacs.iotcl.com>
Toon Claes <toon@iotcl.com> writes:
> Patrick Steinhardt <ps@pks.im> writes:
Show 6 quoted lines
>> This flag is somewhat weird. Having it is probably a sensible think to >> do, but now that I think about it I wonder whether the default makes all >> that much sense in the first place. That being said, _if_ we want to >> change it then we should change it for all subcommands. > > Not sure how to make it better, so let's leave it like this.
Well, we could drop the `--no-deref` completely? If you want to modify a ref, use git-ref(1). If you pass that command a symref, it always dereferences down to the ref. If you want to modify a symref, use git-symbolic-ref(1).
-- Cheers, Toon