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