1 $ git format-patch --attach --stdout initial..master
2 From 7952a93e09bf565b5592766a438b40cd81f4846f Mon Sep 17 00:00:00 2001
3 From: A U Thor <author@example.com>
4 Date: Mon, 26 Jun 2006 00:01:00 +0000
5 Subject: [PATCH] Second
7 Content-Type: multipart/mixed;
8 boundary="------------g-i-t--v-e-r-s-i-o-n"
10 This is a multi-part message in MIME format.
11 --------------g-i-t--v-e-r-s-i-o-n
12 Content-Type: text/plain; charset=UTF-8; format=fixed
13 Content-Transfer-Encoding: 8bit
18 3 files changed, 5 insertions(+), 3 deletions(-)
19 --------------g-i-t--v-e-r-s-i-o-n
20 Content-Type: text/x-patch;
21 name="7952a93e09bf565b5592766a438b40cd81f4846f.diff"
22 Content-Transfer-Encoding: 8bit
23 Content-Disposition: inline;
24 filename="7952a93e09bf565b5592766a438b40cd81f4846f.diff"
26 diff --git a/dir/sub b/dir/sub
27 index 35d242b..8422d40 100644
35 diff --git a/file0 b/file0
36 index 01e79c3..b414108 100644
46 diff --git a/file2 b/file2
47 deleted file mode 100644
48 index 01e79c3..0000000
56 --------------g-i-t--v-e-r-s-i-o-n--
60 From 889b315013ef9f2e2f90aa0b054b267c8a557847 Mon Sep 17 00:00:00 2001
61 From: A U Thor <author@example.com>
62 Date: Mon, 26 Jun 2006 00:02:00 +0000
63 Subject: [PATCH] Third
65 Content-Type: multipart/mixed;
66 boundary="------------g-i-t--v-e-r-s-i-o-n"
68 This is a multi-part message in MIME format.
69 --------------g-i-t--v-e-r-s-i-o-n
70 Content-Type: text/plain; charset=UTF-8; format=fixed
71 Content-Transfer-Encoding: 8bit
75 2 files changed, 5 insertions(+), 0 deletions(-)
76 --------------g-i-t--v-e-r-s-i-o-n
77 Content-Type: text/x-patch;
78 name="889b315013ef9f2e2f90aa0b054b267c8a557847.diff"
79 Content-Transfer-Encoding: 8bit
80 Content-Disposition: inline;
81 filename="889b315013ef9f2e2f90aa0b054b267c8a557847.diff"
83 diff --git a/dir/sub b/dir/sub
84 index 8422d40..cead32e 100644
93 diff --git a/file1 b/file1
95 index 0000000..b1e6722
103 --------------g-i-t--v-e-r-s-i-o-n--
107 From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
108 From: A U Thor <author@example.com>
109 Date: Mon, 26 Jun 2006 00:03:00 +0000
110 Subject: [PATCH] Side
112 Content-Type: multipart/mixed;
113 boundary="------------g-i-t--v-e-r-s-i-o-n"
115 This is a multi-part message in MIME format.
116 --------------g-i-t--v-e-r-s-i-o-n
117 Content-Type: text/plain; charset=UTF-8; format=fixed
118 Content-Transfer-Encoding: 8bit
123 3 files changed, 9 insertions(+), 0 deletions(-)
124 --------------g-i-t--v-e-r-s-i-o-n
125 Content-Type: text/x-patch;
126 name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
127 Content-Transfer-Encoding: 8bit
128 Content-Disposition: inline;
129 filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
131 diff --git a/dir/sub b/dir/sub
132 index 35d242b..7289e35 100644
140 diff --git a/file0 b/file0
141 index 01e79c3..f4615da 100644
151 diff --git a/file3 b/file3
153 index 0000000..7289e35
162 --------------g-i-t--v-e-r-s-i-o-n--