Re: [GSoC Patch 0/2] add unicode support to git repo structure
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 21, 2026, 16:59 UTC
- Message-ID
- <xmqqse47pfyy.fsf@gitster.g>
- In-Reply-To
- <20260821135410.429698-1-jayatheerthkulkarni2005@gmail.com>
K Jayatheerth <jayatheerthkulkarni2005@gmail.com> writes:
Show 6 quoted lines
> Currently, `git repo structure` always renders its table output using plain > ASCII characters (`|`, `-`, `*`), regardless of the user's locale. This > series introduces Unicode box-drawing characters (`│`, `├`, `─`, `┼`, `┤`) > and bullet points (`•`) when a UTF-8 locale is detected, providing a cleaner > and more visually distinct hierarchical output on modern terminals while > gracefully falling back to the existing ASCII formatting otherwise.
Generally speaking, Unicode box-drawing characters do not work as ASCII art components as well as they should, because terminals often do not agree on how wide they should be rendered.
So I am not very enthusiastic about this change.