commit | a7f01c6b4ddf9f2f6bdcb23fc7afb56695807cba | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Fri Apr 19 09:08:51 2013 +1000 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Apr 18 16:28:29 2013 -0700 |
tree | bbd2ecfc44a0e3349d2e419f379e653a008dc00f | |
parent | a57523428b4c08795e793356e12afc3de812f84a [diff] |
pretty: support truncating in %>, %< and %>< %>(N,trunc) truncates the right part after N columns and replace the last two letters with "..". ltrunc does the same on the left. mtrunc cuts the middle out. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>