1 $ git format-patch --attach --stdout initial..side
2 From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
3 From: A U Thor <author@example.com>
4 Date: Mon, 26 Jun 2006 00:03:00 +0000
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
19 3 files changed, 9 insertions(+), 0 deletions(-)
20 create mode 100644 file3
21 --------------g-i-t--v-e-r-s-i-o-n
22 Content-Type: text/x-patch;
23 name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
24 Content-Transfer-Encoding: 8bit
25 Content-Disposition: inline;
26 filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
28 diff --git a/dir/sub b/dir/sub
29 index 35d242b..7289e35 100644
37 diff --git a/file0 b/file0
38 index 01e79c3..f4615da 100644
48 diff --git a/file3 b/file3
50 index 0000000..7289e35
59 --------------g-i-t--v-e-r-s-i-o-n--