summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-18 22:09:03 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-18 22:09:03 -0700
commit65606f3530b2d93eb522fdd1a66970a2b252ae94 (patch)
treea9fe80176bad68ecf66634b7f5d6db36056a1bce
parentMerge branch 'jc/send-email' (diff)
parentTurn on recursive with --summary (diff)
downloadtgif-65606f3530b2d93eb522fdd1a66970a2b252ae94.tar.xz
Merge branch 'js/diff'
* js/diff: Turn on recursive with --summary
-rw-r--r--diff.c1
-rw-r--r--t/t4013/diff.diff-tree_--pretty_--root_--summary_initial2
2 files changed, 2 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 2dcad1942c..33153787b8 100644
--- a/diff.c
+++ b/diff.c
@@ -1760,6 +1760,7 @@ int diff_setup_done(struct diff_options *options)
if (options->output_format & (DIFF_FORMAT_PATCH |
DIFF_FORMAT_NUMSTAT |
DIFF_FORMAT_DIFFSTAT |
+ DIFF_FORMAT_SUMMARY |
DIFF_FORMAT_CHECKDIFF))
options->recursive = 1;
/*
diff --git a/t/t4013/diff.diff-tree_--pretty_--root_--summary_initial b/t/t4013/diff.diff-tree_--pretty_--root_--summary_initial
index ea48205537..58e5f74aea 100644
--- a/t/t4013/diff.diff-tree_--pretty_--root_--summary_initial
+++ b/t/t4013/diff.diff-tree_--pretty_--root_--summary_initial
@@ -5,7 +5,7 @@ Date: Mon Jun 26 00:00:00 2006 +0000
Initial
- create mode 040000 dir
+ create mode 100644 dir/sub
create mode 100644 file0
create mode 100644 file2
$