a9d1cd368bf10738a35b6cc61c5b215186b9066b
1$ git format-patch --attach --stdout initial..master^
2From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
3From: A U Thor <author@example.com>
4Date: Mon, 26 Jun 2006 00:01:00 +0000
5Subject: [PATCH] Second
6MIME-Version: 1.0
7Content-Type: multipart/mixed;
8 boundary="------------g-i-t--v-e-r-s-i-o-n"
9
10This is a multi-part message in MIME format.
11--------------g-i-t--v-e-r-s-i-o-n
12Content-Type: text/plain; charset=UTF-8; format=fixed
13Content-Transfer-Encoding: 8bit
14
15
16This is the second commit.
17---
18 dir/sub | 2 ++
19 file0 | 3 +++
20 file2 | 3 ---
21 3 files changed, 5 insertions(+), 3 deletions(-)
22--------------g-i-t--v-e-r-s-i-o-n
23Content-Type: text/x-patch;
24 name="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
25Content-Transfer-Encoding: 8bit
26Content-Disposition: inline;
27 filename="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
28
29diff --git a/dir/sub b/dir/sub
30index 35d242b..8422d40 100644
31--- a/dir/sub
32+++ b/dir/sub
33@@ -1,2 +1,4 @@
34 A
35 B
36+C
37+D
38diff --git a/file0 b/file0
39index 01e79c3..b414108 100644
40--- a/file0
41+++ b/file0
42@@ -1,3 +1,6 @@
43 1
44 2
45 3
46+4
47+5
48+6
49diff --git a/file2 b/file2
50deleted file mode 100644
51index 01e79c3..0000000
52--- a/file2
53+++ /dev/null
54@@ -1,3 +0,0 @@
55-1
56-2
57-3
58
59--------------g-i-t--v-e-r-s-i-o-n--
60
61
62
63From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
64From: A U Thor <author@example.com>
65Date: Mon, 26 Jun 2006 00:02:00 +0000
66Subject: [PATCH] Third
67MIME-Version: 1.0
68Content-Type: multipart/mixed;
69 boundary="------------g-i-t--v-e-r-s-i-o-n"
70
71This is a multi-part message in MIME format.
72--------------g-i-t--v-e-r-s-i-o-n
73Content-Type: text/plain; charset=UTF-8; format=fixed
74Content-Transfer-Encoding: 8bit
75
76---
77 dir/sub | 2 ++
78 file1 | 3 +++
79 2 files changed, 5 insertions(+), 0 deletions(-)
80--------------g-i-t--v-e-r-s-i-o-n
81Content-Type: text/x-patch;
82 name="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
83Content-Transfer-Encoding: 8bit
84Content-Disposition: inline;
85 filename="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
86
87diff --git a/dir/sub b/dir/sub
88index 8422d40..cead32e 100644
89--- a/dir/sub
90+++ b/dir/sub
91@@ -2,3 +2,5 @@ A
92 B
93 C
94 D
95+E
96+F
97diff --git a/file1 b/file1
98new file mode 100644
99index 0000000..b1e6722
100--- /dev/null
101+++ b/file1
102@@ -0,0 +1,3 @@
103+A
104+B
105+C
106
107--------------g-i-t--v-e-r-s-i-o-n--
108
109
110$