Imported Upstream version 1.8.0
[platform/upstream/git.git] / t / t4013 / diff.format-patch_--attach_--stdout_initial..side
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
5 Subject: [PATCH] Side
6 MIME-Version: 1.0
7 Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
8
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
13
14 ---
15  dir/sub | 2 ++
16  file0   | 3 +++
17  file3   | 4 ++++
18  3 files changed, 9 insertions(+)
19  create mode 100644 file3
20
21
22 --------------g-i-t--v-e-r-s-i-o-n
23 Content-Type: text/x-patch; name="0001-Side.patch"
24 Content-Transfer-Encoding: 8bit
25 Content-Disposition: attachment; filename="0001-Side.patch"
26
27 diff --git a/dir/sub b/dir/sub
28 index 35d242b..7289e35 100644
29 --- a/dir/sub
30 +++ b/dir/sub
31 @@ -1,2 +1,4 @@
32  A
33  B
34 +1
35 +2
36 diff --git a/file0 b/file0
37 index 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
47 diff --git a/file3 b/file3
48 new file mode 100644
49 index 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 $