Merge branch 'js/diff'
authorJunio C Hamano <junkio@cox.net>
Thu, 19 Oct 2006 05:09:03 +0000 (22:09 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 19 Oct 2006 05:09:03 +0000 (22:09 -0700)
* js/diff:
Turn on recursive with --summary

diff.c
t/t4013/diff.diff-tree_--pretty_--root_--summary_initial
diff --git a/diff.c b/diff.c
index 2dcad1942c0f5137d93ebf709439eb385a4ae500..33153787b8117396cf906e69e656849ac04f3257 100644 (file)
--- 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;
        /*
index ea48205537b60376b1fab346effb82548d48954e..58e5f74aeae880c69776bfa8e51bc9e5fe2463cf 100644 (file)
@@ -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
 $