All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
To: git@vger.kernel.org
Subject: Re: [GSoC Patch 0/2] add unicode support to git repo structure
Date: Sun, 23 Aug 2026 15:19:45 +0200	[thread overview]
Message-ID: <aorzcZVdCK27pdjG@ugly.lan> (raw)
In-Reply-To: <xmqqse47pfyy.fsf@gitster.g>

On Fri, Aug 21, 2026 at 09:59:17AM -0700, Junio C Hamano wrote:
>K Jayatheerth <jayatheerthkulkarni2005@gmail.com> writes:
>
>> 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.
>
i can instantly think of two popular applications i'm using every day 
which use box drawing chars: mutt (thread and attachment tree displays) 
and midnight commander (panel/dialog frames). if "often" above were 
accurate, these projects would be getting a lot of complaints about 
that, which they don't.

if compatibility with broken terminals/fonts is considered important, an 
option can be introduced to opt out from the modern experience.

(any takers for giving `git log --graph` the same treatment?)

  reply	other threads:[~2026-08-23 13:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 13:53 [GSoC Patch 0/2] add unicode support to git repo structure K Jayatheerth
2026-08-21 13:53 ` [GSoC Patch 1/2] gettext: fall back to env-derived charset when unset K Jayatheerth
2026-08-21 13:53 ` [GSoC Patch 2/2] repo: add Unicode support for `repo structure` output K Jayatheerth
2026-08-21 16:59 ` [GSoC Patch 0/2] add unicode support to git repo structure Junio C Hamano
2026-08-23 13:19   ` Oswald Buddenhagen [this message]
2026-08-23 15:01     ` Junio C Hamano
2026-08-23 17:06     ` Tuomas Ahola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aorzcZVdCK27pdjG@ugly.lan \
    --to=oswald.buddenhagen@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.