A recent enquiry on the Git-Users list asked for horizontal log graphs similar to those used in the manual ASCII art graphs. These use single or double character short strings for commits. The existing pretty pretty-formats are unable to truncate to single or double characters because of their use of ellipsis `..`. As a starter, let's add left and right hard truncation options to the existing options as a preparatory step for potential `--horizontal` graphs. It is noted that the truncation options do not have any tests yet. Also cc'ing Nsengiyumva who has proposed to look at unifying the ref-filter and --pretty formats [1] -- Philip To: Git List <git@xxxxxxxxxxxxxxx> Cc: NSENGIYUMVA WILBERFORCE <nsengiyumvawilberforce@xxxxxxxxx> Cc: Taylor Blau <me@xxxxxxxxxxxx> Cc: Junio C Hamano <gitster@xxxxxxxxx> [1] https://lore.kernel.org/git/CA+PPyiE=baAoVkrghE5GQMt984AcaL=XBAQRsVRbN8w7jQA+ig@xxxxxxxxxxxxxx/ Philip Oakley (1): pretty-formats: add hard truncation, without ellipsis, options Documentation/pretty-formats.txt | 7 ++++--- pretty.c | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 4 deletions(-) -- 2.38.1.281.g83ef3ded8d