1 $ git format-patch --inline --stdout --subject-prefix=TESTCASE initial..master
2 From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 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: [TESTCASE] Second
7 Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
9 This is a multi-part message in MIME format.
10 --------------g-i-t--v-e-r-s-i-o-n
11 Content-Type: text/plain; charset=UTF-8; format=fixed
12 Content-Transfer-Encoding: 8bit
15 This is the second commit.
20 3 files changed, 5 insertions(+), 3 deletions(-)
21 delete mode 100644 file2
22 --------------g-i-t--v-e-r-s-i-o-n
23 Content-Type: text/x-patch; name="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
24 Content-Transfer-Encoding: 8bit
25 Content-Disposition: inline; filename="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
27 diff --git a/dir/sub b/dir/sub
28 index 35d242b..8422d40 100644
36 diff --git a/file0 b/file0
37 index 01e79c3..b414108 100644
47 diff --git a/file2 b/file2
48 deleted file mode 100644
49 index 01e79c3..0000000
57 --------------g-i-t--v-e-r-s-i-o-n--
61 From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
62 From: A U Thor <author@example.com>
63 Date: Mon, 26 Jun 2006 00:02:00 +0000
64 Subject: [TESTCASE] Third
66 Content-Type: multipart/mixed; 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
76 2 files changed, 5 insertions(+), 0 deletions(-)
77 create mode 100644 file1
78 --------------g-i-t--v-e-r-s-i-o-n
79 Content-Type: text/x-patch; name="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
80 Content-Transfer-Encoding: 8bit
81 Content-Disposition: inline; filename="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.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: [TESTCASE] Side
112 Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
114 This is a multi-part message in MIME format.
115 --------------g-i-t--v-e-r-s-i-o-n
116 Content-Type: text/plain; charset=UTF-8; format=fixed
117 Content-Transfer-Encoding: 8bit
123 3 files changed, 9 insertions(+), 0 deletions(-)
124 create mode 100644 file3
125 --------------g-i-t--v-e-r-s-i-o-n
126 Content-Type: text/x-patch; name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
127 Content-Transfer-Encoding: 8bit
128 Content-Disposition: inline; filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
130 diff --git a/dir/sub b/dir/sub
131 index 35d242b..7289e35 100644
139 diff --git a/file0 b/file0
140 index 01e79c3..f4615da 100644
150 diff --git a/file3 b/file3
152 index 0000000..7289e35
161 --------------g-i-t--v-e-r-s-i-o-n--