Re: [PATCH v2 2/2] add-patch: classify '@' as a synonym for 'HEAD'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 2, 2024, 17:43 UTC
- Message-ID
- <xmqqv876sqwf.fsf@gitster.g>
- In-Reply-To
- <xmqqh6iqu73y.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> You decided to use is_rev_head() instead of user_meant_head(), so > you'd need to update the above description to match, I think.
Having said this, I have a slight fear that normal users would expect is_rev_head(X) to say "yes" for "master" when the current branch is "master", though. is_head(X) would have the same downside.