From: Junio C Hamano Date: Wed, 25 Jun 2014 18:45:31 +0000 (-0700) Subject: Merge branch 'as/pretty-truncate' into maint X-Git-Tag: v2.0.1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad5d8939078a50c247e259cdc1b6d615b233bf47;p=thirdparty%2Fgit.git Merge branch 'as/pretty-truncate' into maint The "%<(10,trunc)%s" pretty format specifier in the log family of commands is used to truncate the string to a given length (e.g. 10 in the example) with padding to column-align the output, but did not take into account that number of bytes and number of display columns are different. * as/pretty-truncate: pretty.c: format string with truncate respects logOutputEncoding t4205, t6006: add tests that fail with i18n.logOutputEncoding set t4205 (log-pretty-format): use `tformat` rather than `format` t4041, t4205, t6006, t7102: don't hardcode tested encoding value t4205 (log-pretty-formats): don't hardcode SHA-1 in expected outputs --- ad5d8939078a50c247e259cdc1b6d615b233bf47