1 $ git log --patch-with-stat master
2 commit 176b998f5d647cbd77a9d8acf4531e930754d16d
3 Merge: 889b315... c7a2ab9...
4 Author: A U Thor <author@example.com>
5 Date: Mon Jun 26 00:04:00 2006 +0000
7 Merge branch 'side'
9 commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
10 Author: A U Thor <author@example.com>
11 Date: Mon Jun 26 00:03:00 2006 +0000
13 Side
14 ---
15 dir/sub | 2 ++
16 file0 | 3 +++
17 file3 | 4 ++++
18 3 files changed, 9 insertions(+), 0 deletions(-)
20 diff --git a/dir/sub b/dir/sub
21 index 35d242b..7289e35 100644
22 --- a/dir/sub
23 +++ b/dir/sub
24 @@ -1,2 +1,4 @@
25 A
26 B
27 +1
28 +2
29 diff --git a/file0 b/file0
30 index 01e79c3..f4615da 100644
31 --- a/file0
32 +++ b/file0
33 @@ -1,3 +1,6 @@
34 1
35 2
36 3
37 +A
38 +B
39 +C
40 diff --git a/file3 b/file3
41 new file mode 100644
42 index 0000000..7289e35
43 --- /dev/null
44 +++ b/file3
45 @@ -0,0 +1,4 @@
46 +A
47 +B
48 +1
49 +2
51 commit 889b315013ef9f2e2f90aa0b054b267c8a557847
52 Author: A U Thor <author@example.com>
53 Date: Mon Jun 26 00:02:00 2006 +0000
55 Third
56 ---
57 dir/sub | 2 ++
58 file1 | 3 +++
59 2 files changed, 5 insertions(+), 0 deletions(-)
61 diff --git a/dir/sub b/dir/sub
62 index 8422d40..cead32e 100644
63 --- a/dir/sub
64 +++ b/dir/sub
65 @@ -2,3 +2,5 @@ A
66 B
67 C
68 D
69 +E
70 +F
71 diff --git a/file1 b/file1
72 new file mode 100644
73 index 0000000..b1e6722
74 --- /dev/null
75 +++ b/file1
76 @@ -0,0 +1,3 @@
77 +A
78 +B
79 +C
81 commit 7952a93e09bf565b5592766a438b40cd81f4846f
82 Author: A U Thor <author@example.com>
83 Date: Mon Jun 26 00:01:00 2006 +0000
85 Second
86 ---
87 dir/sub | 2 ++
88 file0 | 3 +++
89 file2 | 3 ---
90 3 files changed, 5 insertions(+), 3 deletions(-)
92 diff --git a/dir/sub b/dir/sub
93 index 35d242b..8422d40 100644
94 --- a/dir/sub
95 +++ b/dir/sub
96 @@ -1,2 +1,4 @@
97 A
98 B
99 +C
100 +D
101 diff --git a/file0 b/file0
102 index 01e79c3..b414108 100644
103 --- a/file0
104 +++ b/file0
105 @@ -1,3 +1,6 @@
106 1
107 2
108 3
109 +4
110 +5
111 +6
112 diff --git a/file2 b/file2
113 deleted file mode 100644
114 index 01e79c3..0000000
115 --- a/file2
116 +++ /dev/null
117 @@ -1,3 +0,0 @@
118 -1
119 -2
120 -3
122 commit 444ac553ac7612cc88969031b02b3767fb8a353a
123 Author: A U Thor <author@example.com>
124 Date: Mon Jun 26 00:00:00 2006 +0000
126 Initial
127 $