Re: [RFC] Support UTF-8 characters in Git alias names
- From
Jeff King <peff@peff.net>
- Date
- Feb 10, 2026, 06:59 UTC
- Message-ID
- <20260210065901.GD1756549@coredump.intra.peff.net>
- In-Reply-To
- <xmqqzf5h1ka5.fsf@gitster.g>
On Mon, Feb 09, 2026 at 05:04:18PM -0800, Junio C Hamano wrote:
Show 12 quoted lines
> Ben Knoble <ben.knoble@gmail.com> writes: > > > In what way do alias names end up being pathname components? Or > > did you mean to insert « treated like » (as in, normalized as > > command arguments)? > > Ah, they don't. I somehow was confusing those custom commands you > would throw into your ~/bin as "git-something" ;-). > > But you're correct to point out that for a command line "git > something", "something" would go through the same "undo macOS NFD > for all argv[] elements".
It's not an issue for aliases, but pager.* (and a hypothetical pager.*.command) does care about the on-disk representation of program names (and that it matches what is fed from the command-line).
-Peff