Re: [RFC] Support UTF-8 characters in Git alias names
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 9, 2026, 17:59 UTC
- Message-ID
- <xmqqy0l14x30.fsf@gitster.g>
- In-Reply-To
- <c3445fa2-a217-4e48-b0d0-ad41a563c6c4@jontes.page>
Jonatan Holmgren <jonatan@jontes.page> writes:
Show 11 quoted lines
> Thanks for chiming in!
>
> > Isn't NKC/NKD a macOS-only issue in practice? Anything on the
> > command line "git" potty and "git-blah" built-in commands receive
> > goes through precompose_argv_prefix() to be normalized on that
> > platform.
>
> If we use Jeff's proposed alias.*.{keyname} approach with literal byte
> matching macOS should already handle the normalization at the argv level
> before Git even sees it, correct? I'm not very familiar with how macOS
> handles this.I may have phrased it poorly, but the above (with Peff's syntax change, which I think is independently a good thing to do) is exactly what I meant. That way, we do not have to worry about normalization ourselves at all in this area.
Thanks.