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.format-patch_--inline_--stdout_initial..side | |
| parent | Merge branch 'pw/p4-various' (diff) | |
| parent | diff --stat: use less columns for change counts (diff) | |
| download | git-29c2a3dbadaa1c2d1128a4892241f82f5b34778c.tar.gz git-29c2a3dbadaa1c2d1128a4892241f82f5b34778c.zip | |
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.format-patch_--inline_--stdout_initial..side')
| -rw-r--r-- | t/t4013/diff.format-patch_--inline_--stdout_initial..side | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t4013/diff.format-patch_--inline_--stdout_initial..side b/t/t4013/diff.format-patch_--inline_--stdout_initial..side index 3572f20b5d..d3a6762130 100644 --- a/t/t4013/diff.format-patch_--inline_--stdout_initial..side +++ b/t/t4013/diff.format-patch_--inline_--stdout_initial..side @@ -12,9 +12,9 @@ Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- - dir/sub | 2 ++ - file0 | 3 +++ - file3 | 4 ++++ + dir/sub | 2 ++ + file0 | 3 +++ + file3 | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 file3 |
