Browse Source

Merge branch 'js/diff'

* js/diff:
  Turn on recursive with --summary
maint
Junio C Hamano 19 years ago
parent
commit
65606f3530
  1. 1
      diff.c
  2. 2
      t/t4013/diff.diff-tree_--pretty_--root_--summary_initial

1
diff.c

@ -1760,6 +1760,7 @@ int diff_setup_done(struct diff_options *options) @@ -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;
/*

2
t/t4013/diff.diff-tree_--pretty_--root_--summary_initial

@ -5,7 +5,7 @@ Date: Mon Jun 26 00:00:00 2006 +0000 @@ -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
$

Loading…
Cancel
Save