mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
doc: pretty-formats document negative column alignments
Commit 066790d7cb
(pretty.c: support <direction>|(<negative number>) forms,
2016-06-16) added the option for right justified column alignment without
updating the documentation.
Add an explanation of its use of negative column values.
Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
8bcb8f8e22
commit
63792c564c
1 changed files with 3 additions and 1 deletions
|
@ -158,7 +158,9 @@ The placeholders are:
|
|||
Note 2: spaces around the N and M (see below)
|
||||
values are optional.
|
||||
'%<|( <M> )':: make the next placeholder take at least until Mth
|
||||
display column, padding spaces on the right if necessary
|
||||
display column, padding spaces on the right if necessary.
|
||||
Use negative M values for column positions measured
|
||||
from the right hand edge of the terminal window.
|
||||
'%>( <N> )', '%>|( <M> )':: similar to '%<( <N> )', '%<|( <M> )' respectively,
|
||||
but padding spaces on the left
|
||||
'%>>( <N> )', '%>>|( <M> )':: similar to '%>( <N> )', '%>|( <M> )'
|
||||
|
|
Loading…
Reference in a new issue