diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Replace non-ASCII output glyphs with ASCII
Diffstat (limited to '')
| -rw-r--r-- | source/ui-log.c | 11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 5 insertions, 6 deletions
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; |
