summaryrefslogtreecommitdiff
path: root/t/t4034/pascal
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-04-19 09:08:50 +1000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-18 16:28:29 -0700
commita57523428b4c08795e793356e12afc3de812f84a (patch)
tree49d70a10d94c4aadeb863adf73d078f27f5569d5 /t/t4034/pascal
parentpretty: add %C(auto) for auto-coloring (diff)
downloadtgif-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 't/t4034/pascal')
0 files changed, 0 insertions, 0 deletions