]> git.ipfire.org Git - thirdparty/git.git/commit
doc: pretty-formats describe use of ellipsis in truncation
authorPhilip Oakley <philipoakley@iee.email>
Thu, 19 Jan 2023 18:18:26 +0000 (18:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jan 2023 22:35:15 +0000 (14:35 -0800)
commitb5cd634d7a30074452c5aa3b0ce66ce794c4d565
treea8ac44b7a5de58e252e4fa7e29eabbdf102c79cb
parent63792c564c3a96007baf7ce876dea0a6f5f9f880
doc: pretty-formats describe use of ellipsis in truncation

Commit a7f01c6b4d (pretty: support truncating in %>, %< and %><,
2013-04-19) added the use of ellipsis when truncating placeholder
values.

Show our 'two dot' ellipsis, and examples for the left, middle and
right truncation to avoid any confusion as to which end of the string
is adjusted. (cf justification and sub-string).

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt