summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-14 12:01:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-14 12:01:02 -0700
commit868f7d23384931641aa4901aab27f3f23577e63b (patch)
tree148d5d0a8e4e71487fe598c9196b397c40c934f1 /t/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode
parentEighth batch for 2.17 (diff)
parentdiff: add --compact-summary (diff)
downloadtgif-868f7d23384931641aa4901aab27f3f23577e63b.tar.xz
Merge branch 'nd/diff-stat-with-summary'
"git diff" and friends learned "--compact-summary" that shows the information usually given with the "--summary" option on the same line as the diffstat output of the "--stat" option (which saves vertical space and keeps info on a single path at the same place). * nd/diff-stat-with-summary: diff: add --compact-summary diff.c: refactor pprint_rename() to use strbuf
Diffstat (limited to 't/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode')
-rw-r--r--t/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode b/t/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode
new file mode 100644
index 0000000000..e38f3d3bfb
--- /dev/null
+++ b/t/t4013/diff.diff-tree_-R_--stat_--compact-summary_initial_mode
@@ -0,0 +1,4 @@
+$ git diff-tree -R --stat --compact-summary initial mode
+ file0 (mode -x) | 0
+ 1 file changed, 0 insertions(+), 0 deletions(-)
+$