Code

Merge branch 'jc/merge-base' (early part)
[git.git] / t / t4013 / diff.format-patch_--attach_--stdout_initial..master
1 $ git format-patch --attach --stdout initial..master
2 From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
3 From: A U Thor <author@example.com>
4 Date: Mon, 26 Jun 2006 00:01:00 +0000
5 Subject: [PATCH] Second
6 MIME-Version: 1.0
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
16 This is the second commit.
17 ---
18  dir/sub |    2 ++
19  file0   |    3 +++
20  file2   |    3 ---
21  3 files changed, 5 insertions(+), 3 deletions(-)
22  delete mode 100644 file2
23 --------------g-i-t--v-e-r-s-i-o-n
24 Content-Type: text/x-patch;
25  name="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
26 Content-Transfer-Encoding: 8bit
27 Content-Disposition: inline;
28  filename="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
30 diff --git a/dir/sub b/dir/sub
31 index 35d242b..8422d40 100644
32 --- a/dir/sub
33 +++ b/dir/sub
34 @@ -1,2 +1,4 @@
35  A
36  B
37 +C
38 +D
39 diff --git a/file0 b/file0
40 index 01e79c3..b414108 100644
41 --- a/file0
42 +++ b/file0
43 @@ -1,3 +1,6 @@
44  1
45  2
46  3
47 +4
48 +5
49 +6
50 diff --git a/file2 b/file2
51 deleted file mode 100644
52 index 01e79c3..0000000
53 --- a/file2
54 +++ /dev/null
55 @@ -1,3 +0,0 @@
56 -1
57 -2
58 -3
60 --------------g-i-t--v-e-r-s-i-o-n--
64 From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
65 From: A U Thor <author@example.com>
66 Date: Mon, 26 Jun 2006 00:02:00 +0000
67 Subject: [PATCH] Third
68 MIME-Version: 1.0
69 Content-Type: multipart/mixed;
70  boundary="------------g-i-t--v-e-r-s-i-o-n"
72 This is a multi-part message in MIME format.
73 --------------g-i-t--v-e-r-s-i-o-n
74 Content-Type: text/plain; charset=UTF-8; format=fixed
75 Content-Transfer-Encoding: 8bit
77 ---
78  dir/sub |    2 ++
79  file1   |    3 +++
80  2 files changed, 5 insertions(+), 0 deletions(-)
81  create mode 100644 file1
82 --------------g-i-t--v-e-r-s-i-o-n
83 Content-Type: text/x-patch;
84  name="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
85 Content-Transfer-Encoding: 8bit
86 Content-Disposition: inline;
87  filename="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
89 diff --git a/dir/sub b/dir/sub
90 index 8422d40..cead32e 100644
91 --- a/dir/sub
92 +++ b/dir/sub
93 @@ -2,3 +2,5 @@ A
94  B
95  C
96  D
97 +E
98 +F
99 diff --git a/file1 b/file1
100 new file mode 100644
101 index 0000000..b1e6722
102 --- /dev/null
103 +++ b/file1
104 @@ -0,0 +1,3 @@
105 +A
106 +B
107 +C
109 --------------g-i-t--v-e-r-s-i-o-n--
113 From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
114 From: A U Thor <author@example.com>
115 Date: Mon, 26 Jun 2006 00:03:00 +0000
116 Subject: [PATCH] Side
117 MIME-Version: 1.0
118 Content-Type: multipart/mixed;
119  boundary="------------g-i-t--v-e-r-s-i-o-n"
121 This is a multi-part message in MIME format.
122 --------------g-i-t--v-e-r-s-i-o-n
123 Content-Type: text/plain; charset=UTF-8; format=fixed
124 Content-Transfer-Encoding: 8bit
126 ---
127  dir/sub |    2 ++
128  file0   |    3 +++
129  file3   |    4 ++++
130  3 files changed, 9 insertions(+), 0 deletions(-)
131  create mode 100644 file3
132 --------------g-i-t--v-e-r-s-i-o-n
133 Content-Type: text/x-patch;
134  name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
135 Content-Transfer-Encoding: 8bit
136 Content-Disposition: inline;
137  filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
139 diff --git a/dir/sub b/dir/sub
140 index 35d242b..7289e35 100644
141 --- a/dir/sub
142 +++ b/dir/sub
143 @@ -1,2 +1,4 @@
144  A
145  B
146 +1
147 +2
148 diff --git a/file0 b/file0
149 index 01e79c3..f4615da 100644
150 --- a/file0
151 +++ b/file0
152 @@ -1,3 +1,6 @@
153  1
154  2
155  3
156 +A
157 +B
158 +C
159 diff --git a/file3 b/file3
160 new file mode 100644
161 index 0000000..7289e35
162 --- /dev/null
163 +++ b/file3
164 @@ -0,0 +1,4 @@
165 +A
166 +B
167 +1
168 +2
170 --------------g-i-t--v-e-r-s-i-o-n--