1$ git whatchanged --root --patch-with-stat --summary master
2commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
3Author: A U Thor <author@example.com>
4Date: Mon Jun 26 00:03:00 2006 +0000
5
6 Side
7---
8 dir/sub | 2 ++
9 file0 | 3 +++
10 file3 | 4 ++++
11 3 files changed, 9 insertions(+), 0 deletions(-)
12 create mode 100644 file3
13
14diff --git a/dir/sub b/dir/sub
15index 35d242b..7289e35 100644
16--- a/dir/sub
17+++ b/dir/sub
18@@ -1,2 +1,4 @@
19 A
20 B
21+1
22+2
23diff --git a/file0 b/file0
24index 01e79c3..f4615da 100644
25--- a/file0
26+++ b/file0
27@@ -1,3 +1,6 @@
28 1
29 2
30 3
31+A
32+B
33+C
34diff --git a/file3 b/file3
35new file mode 100644
36index 0000000..7289e35
37--- /dev/null
38+++ b/file3
39@@ -0,0 +1,4 @@
40+A
41+B
42+1
43+2
44
45commit 889b315013ef9f2e2f90aa0b054b267c8a557847
46Author: A U Thor <author@example.com>
47Date: Mon Jun 26 00:02:00 2006 +0000
48
49 Third
50---
51 dir/sub | 2 ++
52 file1 | 3 +++
53 2 files changed, 5 insertions(+), 0 deletions(-)
54 create mode 100644 file1
55
56diff --git a/dir/sub b/dir/sub
57index 8422d40..cead32e 100644
58--- a/dir/sub
59+++ b/dir/sub
60@@ -2,3 +2,5 @@ A
61 B
62 C
63 D
64+E
65+F
66diff --git a/file1 b/file1
67new file mode 100644
68index 0000000..b1e6722
69--- /dev/null
70+++ b/file1
71@@ -0,0 +1,3 @@
72+A
73+B
74+C
75
76commit 7952a93e09bf565b5592766a438b40cd81f4846f
77Author: A U Thor <author@example.com>
78Date: Mon Jun 26 00:01:00 2006 +0000
79
80 Second
81---
82 dir/sub | 2 ++
83 file0 | 3 +++
84 file2 | 3 ---
85 3 files changed, 5 insertions(+), 3 deletions(-)
86 delete mode 100644 file2
87
88diff --git a/dir/sub b/dir/sub
89index 35d242b..8422d40 100644
90--- a/dir/sub
91+++ b/dir/sub
92@@ -1,2 +1,4 @@
93 A
94 B
95+C
96+D
97diff --git a/file0 b/file0
98index 01e79c3..b414108 100644
99--- a/file0
100+++ b/file0
101@@ -1,3 +1,6 @@
102 1
103 2
104 3
105+4
106+5
107+6
108diff --git a/file2 b/file2
109deleted file mode 100644
110index 01e79c3..0000000
111--- a/file2
112+++ /dev/null
113@@ -1,3 +0,0 @@
114-1
115-2
116-3
117
118commit 444ac553ac7612cc88969031b02b3767fb8a353a
119Author: A U Thor <author@example.com>
120Date: Mon Jun 26 00:00:00 2006 +0000
121
122 Initial
123---
124 dir/sub | 2 ++
125 file0 | 3 +++
126 file2 | 3 +++
127 3 files changed, 8 insertions(+), 0 deletions(-)
128 create mode 100644 dir/sub
129 create mode 100644 file0
130 create mode 100644 file2
131
132diff --git a/dir/sub b/dir/sub
133new file mode 100644
134index 0000000..35d242b
135--- /dev/null
136+++ b/dir/sub
137@@ -0,0 +1,2 @@
138+A
139+B
140diff --git a/file0 b/file0
141new file mode 100644
142index 0000000..01e79c3
143--- /dev/null
144+++ b/file0
145@@ -0,0 +1,3 @@
146+1
147+2
148+3
149diff --git a/file2 b/file2
150new file mode 100644
151index 0000000..01e79c3
152--- /dev/null
153+++ b/file2
154@@ -0,0 +1,3 @@
155+1
156+2
157+3
158$