From 1330b8f581a6eb647de3e1ae2132b3eb64f01353 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 27 Aug 2026 03:52:25 -1000 Subject: Replace non-ASCII output glyphs with ASCII --- source/ui-log.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source/ui-log.c') diff --git a/source/ui-log.c b/source/ui-log.c index ec5f91b..7b7808c 100644 --- a/source/ui-log.c +++ b/source/ui-log.c @@ -160,15 +160,14 @@ static void print_graph_above(struct rev_info *revs, struct strbuf *graph, } /* - * Cuts a subject longer than max-message-len down to size, leaving an arrow - * where it was cut and moving the remainder to the front of msg. The subject - * is edited in place, which the caller allows by freeing the commitinfo once - * the row is written. + * Cuts a subject longer than max-message-len down to size, leaving an + * ellipsis where it was cut and moving the remainder to the front of msg. The + * subject is edited in place, which the caller allows by freeing the + * commitinfo once the row is written. */ static void wrap_subject(struct commitinfo *info, struct strbuf *msg) { - // The arrow is U+21B5 written out in PAGE_ENCODING. - const char wrap_symbol[] = { ' ', 0xE2, 0x86, 0xB5, 0 }; + const char wrap_symbol[] = " ..."; size_t subject_len = strlen(info->subject); int cut; -- cgit v2.8.0