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(+)
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 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
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(+)
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 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44
77Author: A U Thor <author@example.com>
78Date: Mon Jun 26 00:01:00 2006 +0000
79
80 Second
81
82 This is the second commit.
83---
84 dir/sub | 2 ++
85 file0 | 3 +++
86 file2 | 3 ---
87 3 files changed, 5 insertions(+), 3 deletions(-)
88 delete mode 100644 file2
89
90diff --git a/dir/sub b/dir/sub
91index 35d242b..8422d40 100644
92--- a/dir/sub
93+++ b/dir/sub
94@@ -1,2 +1,4 @@
95 A
96 B
97+C
98+D
99diff --git a/file0 b/file0
100index 01e79c3..b414108 100644
101--- a/file0
102+++ b/file0
103@@ -1,3 +1,6 @@
104 1
105 2
106 3
107+4
108+5
109+6
110diff --git a/file2 b/file2
111deleted file mode 100644
112index 01e79c3..0000000
113--- a/file2
114+++ /dev/null
115@@ -1,3 +0,0 @@
116-1
117-2
118-3
119
120commit 444ac553ac7612cc88969031b02b3767fb8a353a
121Author: A U Thor <author@example.com>
122Date: Mon Jun 26 00:00:00 2006 +0000
123
124 Initial
125---
126 dir/sub | 2 ++
127 file0 | 3 +++
128 file2 | 3 +++
129 3 files changed, 8 insertions(+)
130 create mode 100644 dir/sub
131 create mode 100644 file0
132 create mode 100644 file2
133
134diff --git a/dir/sub b/dir/sub
135new file mode 100644
136index 0000000..35d242b
137--- /dev/null
138+++ b/dir/sub
139@@ -0,0 +1,2 @@
140+A
141+B
142diff --git a/file0 b/file0
143new file mode 100644
144index 0000000..01e79c3
145--- /dev/null
146+++ b/file0
147@@ -0,0 +1,3 @@
148+1
149+2
150+3
151diff --git a/file2 b/file2
152new file mode 100644
153index 0000000..01e79c3
154--- /dev/null
155+++ b/file2
156@@ -0,0 +1,3 @@
157+1
158+2
159+3
160$