38f790290a41311e490c493bdaf71774853cc861
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
21
22--------------g-i-t--v-e-r-s-i-o-n
23Content-Type: text/x-patch; name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
24Content-Transfer-Encoding: 8bit
25Content-Disposition: attachment; filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
26
27diff --git a/dir/sub b/dir/sub
28index 35d242b..7289e35 100644
29--- a/dir/sub
30+++ b/dir/sub
31@@ -1,2 +1,4 @@
32 A
33 B
34+1
35+2
36diff --git a/file0 b/file0
37index 01e79c3..f4615da 100644
38--- a/file0
39+++ b/file0
40@@ -1,3 +1,6 @@
41 1
42 2
43 3
44+A
45+B
46+C
47diff --git a/file3 b/file3
48new file mode 100644
49index 0000000..7289e35
50--- /dev/null
51+++ b/file3
52@@ -0,0 +1,4 @@
53+A
54+B
55+1
56+2
57
58--------------g-i-t--v-e-r-s-i-o-n--
59
60
61$