summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-04-18 23:08:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-18 23:28:29 (GMT)
commita57523428b4c08795e793356e12afc3de812f84a (patch)
tree49d70a10d94c4aadeb863adf73d078f27f5569d5 /utf8.h
parenta95f067e3fc2b7c50c69680ac10bef528b160446 (diff)
downloadgit-a57523428b4c08795e793356e12afc3de812f84a.zip
git-a57523428b4c08795e793356e12afc3de812f84a.tar.gz
git-a57523428b4c08795e793356e12afc3de812f84a.tar.bz2
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 'utf8.h')
0 files changed, 0 insertions, 0 deletions