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/t4013/diff.diff-tree_--cc_--stat_master | |
| parent | a5f9ba99894f7e6e475bc7f8770c2098f2f73efb (diff) | |
| parent | dc801e71a72201f760618c6a706a31edccdc6fd2 (diff) | |
| download | git-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/t4013/diff.diff-tree_--cc_--stat_master')
| -rw-r--r-- | t/t4013/diff.diff-tree_--cc_--stat_master | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4013/diff.diff-tree_--cc_--stat_master b/t/t4013/diff.diff-tree_--cc_--stat_master index f48367a89a..40b91796b3 100644 --- a/t/t4013/diff.diff-tree_--cc_--stat_master +++ b/t/t4013/diff.diff-tree_--cc_--stat_master @@ -1,6 +1,6 @@ $ git diff-tree --cc --stat master 59d314ad6f356dd08601a4cd5e530381da3e3c64 - dir/sub | 2 ++ - file0 | 3 +++ + dir/sub | 2 ++ + file0 | 3 +++ 2 files changed, 5 insertions(+) $ |
