Browse Source
* jc/diff-test-updates: t4013: note improvements brought by the new output code.maint
Junio C Hamano
19 years ago
4 changed files with 68 additions and 6 deletions
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
$ git diff-tree --cc --patch-with-stat master |
||||
176b998f5d647cbd77a9d8acf4531e930754d16d |
||||
dir/sub | 2 ++ |
||||
file0 | 3 +++ |
||||
2 files changed, 5 insertions(+), 0 deletions(-) |
||||
|
||||
diff --cc dir/sub |
||||
index cead32e,7289e35..992913c |
||||
--- a/dir/sub |
||||
+++ b/dir/sub |
||||
@@@ -1,6 -1,4 +1,8 @@@ |
||||
A |
||||
B |
||||
+C |
||||
+D |
||||
+E |
||||
+F |
||||
+ 1 |
||||
+ 2 |
||||
diff --cc file0 |
||||
index b414108,f4615da..10a8a9f |
||||
--- a/file0 |
||||
+++ b/file0 |
||||
@@@ -1,6 -1,6 +1,9 @@@ |
||||
1 |
||||
2 |
||||
3 |
||||
+4 |
||||
+5 |
||||
+6 |
||||
+ A |
||||
+ B |
||||
+ C |
||||
$ |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
$ git diff-tree --pretty --root --summary -r initial |
||||
commit 444ac553ac7612cc88969031b02b3767fb8a353a |
||||
Author: A U Thor <author@example.com> |
||||
Date: Mon Jun 26 00:00:00 2006 +0000 |
||||
|
||||
Initial |
||||
|
||||
create mode 100644 dir/sub |
||||
create mode 100644 file0 |
||||
create mode 100644 file2 |
||||
$ |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
$ git diff-tree --pretty --root --summary initial |
||||
commit 444ac553ac7612cc88969031b02b3767fb8a353a |
||||
Author: A U Thor <author@example.com> |
||||
Date: Mon Jun 26 00:00:00 2006 +0000 |
||||
|
||||
Initial |
||||
|
||||
create mode 040000 dir |
||||
create mode 100644 file0 |
||||
create mode 100644 file2 |
||||
$ |
Loading…
Reference in new issue