summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-03-12 13:43:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-12 14:08:05 -0700
commitc7cb333f60db9b8313da75c2075a3619202e905d (patch)
treedaae21981cec440dd5db73eebc35c1d1a36c7eda /grep.c
parentwt-status: i18n of section labels (diff)
downloadtgif-c7cb333f60db9b8313da75c2075a3619202e905d.tar.xz
wt-status: lift the artificual "at least 20 columns" floor
When we show unmerged paths, we had an artificial 20 columns floor for the width of labels (e.g. "both deleted:") shown next to the pathnames. Depending on the locale, this may result in a label that is too wide when all the label strings are way shorter than 20 columns, or no-op when a label string is longer than 20 columns. Just drop the artificial floor. The screen real estate is better utilized this way when all the strings are shorter. Adjust the tests to this change. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.c')
0 files changed, 0 insertions, 0 deletions