diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-02 13:53:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-02 13:53:28 -0700 |
commit | 29c2a3dbadaa1c2d1128a4892241f82f5b34778c (patch) | |
tree | e89235283655640030f481b6c8f5b6af77535650 /t/t4049-diff-stat-count.sh | |
parent | Merge branch 'pw/p4-various' (diff) | |
parent | diff --stat: use less columns for change counts (diff) | |
download | tgif-29c2a3dbadaa1c2d1128a4892241f82f5b34778c.tar.xz |
Merge branch 'zj/diff-stat-smaller-num-columns'
Spend only minimum number of columns necessary to show the number of lines
in the output from "diff --stat", instead of always allocating 4 columns
even when showing changes that are much smaller than 1000 lines.
By Zbigniew Jędrzejewski-Szmek
* zj/diff-stat-smaller-num-columns:
diff --stat: use less columns for change counts
Diffstat (limited to 't/t4049-diff-stat-count.sh')
-rwxr-xr-x | t/t4049-diff-stat-count.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4049-diff-stat-count.sh b/t/t4049-diff-stat-count.sh index 591ffbc075..b41eb61ca8 100755 --- a/t/t4049-diff-stat-count.sh +++ b/t/t4049-diff-stat-count.sh @@ -14,8 +14,8 @@ test_expect_success setup ' echo a >a && echo b >b && cat >expect <<-\EOF - a | 1 + - b | 1 + + a | 1 + + b | 1 + 2 files changed, 2 insertions(+) EOF git diff --stat --stat-count=2 >actual && |