blob: fe0258720ca5f2058a7f71f8417b5eece23b867a [file] [log] [blame]
Junio C Hamanod410e432006-06-29 00:01:07 -07001$ git format-patch --attach --stdout initial..master^
Junio C Hamanoa40d3842006-07-13 19:51:12 -07002From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
Junio C Hamanod410e432006-06-29 00:01:07 -07003From: A U Thor <author@example.com>
4Date: Mon, 26 Jun 2006 00:01:00 +0000
5Subject: [PATCH] Second
6MIME-Version: 1.0
Junio C Hamano33ee4cf2007-03-04 16:08:04 -08007Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
Junio C Hamanod410e432006-06-29 00:01:07 -07008
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
Junio C Hamanoa40d3842006-07-13 19:51:12 -070013
14
15This is the second commit.
Junio C Hamanod410e432006-06-29 00:01:07 -070016---
17 dir/sub | 2 ++
18 file0 | 3 +++
19 file2 | 3 ---
20 3 files changed, 5 insertions(+), 3 deletions(-)
Junio C Hamanoc261e432007-01-17 13:51:44 -080021 delete mode 100644 file2
Junio C Hamanod410e432006-06-29 00:01:07 -070022--------------g-i-t--v-e-r-s-i-o-n
Junio C Hamano33ee4cf2007-03-04 16:08:04 -080023Content-Type: text/x-patch; name="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
Junio C Hamanod410e432006-06-29 00:01:07 -070024Content-Transfer-Encoding: 8bit
Junio C Hamano33ee4cf2007-03-04 16:08:04 -080025Content-Disposition: attachment; filename="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
Junio C Hamanod410e432006-06-29 00:01:07 -070026
27diff --git a/dir/sub b/dir/sub
28index 35d242b..8422d40 100644
29--- a/dir/sub
30+++ b/dir/sub
31@@ -1,2 +1,4 @@
32 A
33 B
34+C
35+D
36diff --git a/file0 b/file0
37index 01e79c3..b414108 100644
38--- a/file0
39+++ b/file0
40@@ -1,3 +1,6 @@
41 1
42 2
43 3
44+4
45+5
46+6
47diff --git a/file2 b/file2
48deleted file mode 100644
49index 01e79c3..0000000
50--- a/file2
51+++ /dev/null
52@@ -1,3 +0,0 @@
53-1
54-2
55-3
56
57--------------g-i-t--v-e-r-s-i-o-n--
58
59
60
Junio C Hamanoa40d3842006-07-13 19:51:12 -070061From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
Junio C Hamanod410e432006-06-29 00:01:07 -070062From: A U Thor <author@example.com>
63Date: Mon, 26 Jun 2006 00:02:00 +0000
64Subject: [PATCH] Third
65MIME-Version: 1.0
Junio C Hamano33ee4cf2007-03-04 16:08:04 -080066Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
Junio C Hamanod410e432006-06-29 00:01:07 -070067
68This is a multi-part message in MIME format.
69--------------g-i-t--v-e-r-s-i-o-n
70Content-Type: text/plain; charset=UTF-8; format=fixed
71Content-Transfer-Encoding: 8bit
Junio C Hamano85540922006-07-13 21:39:13 -070072
Junio C Hamanod410e432006-06-29 00:01:07 -070073---
74 dir/sub | 2 ++
75 file1 | 3 +++
76 2 files changed, 5 insertions(+), 0 deletions(-)
Junio C Hamanoc261e432007-01-17 13:51:44 -080077 create mode 100644 file1
Junio C Hamanod410e432006-06-29 00:01:07 -070078--------------g-i-t--v-e-r-s-i-o-n
Junio C Hamano33ee4cf2007-03-04 16:08:04 -080079Content-Type: text/x-patch; name="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
Junio C Hamanod410e432006-06-29 00:01:07 -070080Content-Transfer-Encoding: 8bit
Junio C Hamano33ee4cf2007-03-04 16:08:04 -080081Content-Disposition: attachment; filename="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
Junio C Hamanod410e432006-06-29 00:01:07 -070082
83diff --git a/dir/sub b/dir/sub
84index 8422d40..cead32e 100644
85--- a/dir/sub
86+++ b/dir/sub
87@@ -2,3 +2,5 @@ A
88 B
89 C
90 D
91+E
92+F
93diff --git a/file1 b/file1
94new file mode 100644
95index 0000000..b1e6722
96--- /dev/null
97+++ b/file1
98@@ -0,0 +1,3 @@
99+A
100+B
101+C
102
103--------------g-i-t--v-e-r-s-i-o-n--
104
105
106$