9ff828ee9d1cbf59d637645b5946c82fe8af00e4
1$ git format-patch --attach --stdout initial..side
2From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
3From: A U Thor <author@example.com>
4Date: Mon, 26 Jun 2006 00:03:00 +0000
5Subject: [PATCH] Side
6MIME-Version: 1.0
7Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
8
9This is a multi-part message in MIME format.
10--------------g-i-t--v-e-r-s-i-o-n
11Content-Type: text/plain; charset=UTF-8; format=fixed
12Content-Transfer-Encoding: 8bit
13
14---
15 dir/sub | 2 ++
16 file0 | 3 +++
17 file3 | 4 ++++
18 3 files changed, 9 insertions(+), 0 deletions(-)
19 create mode 100644 file3
20--------------g-i-t--v-e-r-s-i-o-n
21Content-Type: text/x-patch; name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
22Content-Transfer-Encoding: 8bit
23Content-Disposition: attachment; filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
24
25diff --git a/dir/sub b/dir/sub
26index 35d242b..7289e35 100644
27--- a/dir/sub
28+++ b/dir/sub
29@@ -1,2 +1,4 @@
30 A
31 B
32+1
33+2
34diff --git a/file0 b/file0
35index 01e79c3..f4615da 100644
36--- a/file0
37+++ b/file0
38@@ -1,3 +1,6 @@
39 1
40 2
41 3
42+A
43+B
44+C
45diff --git a/file3 b/file3
46new file mode 100644
47index 0000000..7289e35
48--- /dev/null
49+++ b/file3
50@@ -0,0 +1,4 @@
51+A
52+B
53+1
54+2
55
56--------------g-i-t--v-e-r-s-i-o-n--
57
58
59$