diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-04-19 09:08:50 +1000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-18 16:28:29 -0700 |
commit | a57523428b4c08795e793356e12afc3de812f84a (patch) | |
tree | 49d70a10d94c4aadeb863adf73d078f27f5569d5 /contrib/credential/wincred/Makefile | |
parent | pretty: add %C(auto) for auto-coloring (diff) | |
download | tgif-a57523428b4c08795e793356e12afc3de812f84a.tar.xz |
pretty: support padding placeholders, %< %> and %><
Either %<, %> or %>< standing before a placeholder specifies how many
columns (at least as the placeholder can exceed it) it takes. Each
differs on how spaces are padded:
%< pads on the right (aka left alignment)
%> pads on the left (aka right alignment)
%>< pads both ways equally (aka centered)
The (<N>) follows them, e.g. `%<(100)', to specify the number of
columns the next placeholder takes.
However, if '|' stands before (<N>), e.g. `%>|(100)', then the number
of columns is calculated so that it reaches the Nth column on screen.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/wincred/Makefile')
0 files changed, 0 insertions, 0 deletions