1 $ git whatchanged --root --patch-with-stat --summary master
2 commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
3 Author: A U Thor <author@example.com>
4 Date: Mon Jun 26 00:03:00 2006 +0000
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
14 diff --git a/dir/sub b/dir/sub
15 index 35d242b..7289e35 100644
16 --- a/dir/sub
17 +++ b/dir/sub
18 @@ -1,2 +1,4 @@
19 A
20 B
21 +1
22 +2
23 diff --git a/file0 b/file0
24 index 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
34 diff --git a/file3 b/file3
35 new file mode 100644
36 index 0000000..7289e35
37 --- /dev/null
38 +++ b/file3
39 @@ -0,0 +1,4 @@
40 +A
41 +B
42 +1
43 +2
45 commit 889b315013ef9f2e2f90aa0b054b267c8a557847
46 Author: A U Thor <author@example.com>
47 Date: Mon Jun 26 00:02:00 2006 +0000
49 Third
50 ---
51 dir/sub | 2 ++
52 file1 | 3 +++
53 2 files changed, 5 insertions(+), 0 deletions(-)
54 create mode 100644 file1
56 diff --git a/dir/sub b/dir/sub
57 index 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
66 diff --git a/file1 b/file1
67 new file mode 100644
68 index 0000000..b1e6722
69 --- /dev/null
70 +++ b/file1
71 @@ -0,0 +1,3 @@
72 +A
73 +B
74 +C
76 commit 7952a93e09bf565b5592766a438b40cd81f4846f
77 Author: A U Thor <author@example.com>
78 Date: Mon Jun 26 00:01:00 2006 +0000
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
88 diff --git a/dir/sub b/dir/sub
89 index 35d242b..8422d40 100644
90 --- a/dir/sub
91 +++ b/dir/sub
92 @@ -1,2 +1,4 @@
93 A
94 B
95 +C
96 +D
97 diff --git a/file0 b/file0
98 index 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
108 diff --git a/file2 b/file2
109 deleted file mode 100644
110 index 01e79c3..0000000
111 --- a/file2
112 +++ /dev/null
113 @@ -1,3 +0,0 @@
114 -1
115 -2
116 -3
118 commit 444ac553ac7612cc88969031b02b3767fb8a353a
119 Author: A U Thor <author@example.com>
120 Date: Mon Jun 26 00:00:00 2006 +0000
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
132 diff --git a/dir/sub b/dir/sub
133 new file mode 100644
134 index 0000000..35d242b
135 --- /dev/null
136 +++ b/dir/sub
137 @@ -0,0 +1,2 @@
138 +A
139 +B
140 diff --git a/file0 b/file0
141 new file mode 100644
142 index 0000000..01e79c3
143 --- /dev/null
144 +++ b/file0
145 @@ -0,0 +1,3 @@
146 +1
147 +2
148 +3
149 diff --git a/file2 b/file2
150 new file mode 100644
151 index 0000000..01e79c3
152 --- /dev/null
153 +++ b/file2
154 @@ -0,0 +1,3 @@
155 +1
156 +2
157 +3
158 $