]> git.ipfire.org Git - thirdparty/git.git/blame - t/t4013/diff.format-patch_--attach_--stdout_initial..master^
Documentation: Remove mentions of git-svnimport.
[thirdparty/git.git] / t / t4013 / diff.format-patch_--attach_--stdout_initial..master^
CommitLineData
d410e43b 1$ git format-patch --attach --stdout initial..master^
a40d384c 2From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
d410e43b
JH
3From: A U Thor <author@example.com>
4Date: Mon, 26 Jun 2006 00:01:00 +0000
5Subject: [PATCH] Second
6MIME-Version: 1.0
33ee4cfb 7Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
d410e43b
JH
8
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
a40d384c
JH
13
14
15This is the second commit.
d410e43b
JH
16---
17 dir/sub | 2 ++
18 file0 | 3 +++
19 file2 | 3 ---
20 3 files changed, 5 insertions(+), 3 deletions(-)
c261e438 21 delete mode 100644 file2
d410e43b 22--------------g-i-t--v-e-r-s-i-o-n
33ee4cfb 23Content-Type: text/x-patch; name="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
d410e43b 24Content-Transfer-Encoding: 8bit
33ee4cfb 25Content-Disposition: attachment; filename="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
d410e43b
JH
26
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
a40d384c 61From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
d410e43b
JH
62From: A U Thor <author@example.com>
63Date: Mon, 26 Jun 2006 00:02:00 +0000
64Subject: [PATCH] Third
65MIME-Version: 1.0
33ee4cfb 66Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
d410e43b
JH
67
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
85540929 72
d410e43b
JH
73---
74 dir/sub | 2 ++
75 file1 | 3 +++
76 2 files changed, 5 insertions(+), 0 deletions(-)
c261e438 77 create mode 100644 file1
d410e43b 78--------------g-i-t--v-e-r-s-i-o-n
33ee4cfb 79Content-Type: text/x-patch; name="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
d410e43b 80Content-Transfer-Encoding: 8bit
33ee4cfb 81Content-Disposition: attachment; filename="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
d410e43b
JH
82
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$