]> git.ipfire.org Git - thirdparty/git.git/blame - t/t4013/diff.format-patch_--stdout_initial..master
Merge branch 'js/doc-patch-text'
[thirdparty/git.git] / t / t4013 / diff.format-patch_--stdout_initial..master
CommitLineData
d410e43b 1$ git format-patch --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
a567fdcb 5Subject: [PATCH 1/3] Second
a40d384c
JH
6
7This is the second commit.
d410e43b 8---
dc801e71
ZJS
9 dir/sub | 2 ++
10 file0 | 3 +++
11 file2 | 3 ---
d410e43b 12 3 files changed, 5 insertions(+), 3 deletions(-)
c261e438 13 delete mode 100644 file2
d410e43b
JH
14
15diff --git a/dir/sub b/dir/sub
16index 35d242b..8422d40 100644
17--- a/dir/sub
18+++ b/dir/sub
19@@ -1,2 +1,4 @@
20 A
21 B
22+C
23+D
24diff --git a/file0 b/file0
25index 01e79c3..b414108 100644
26--- a/file0
27+++ b/file0
28@@ -1,3 +1,6 @@
29 1
30 2
31 3
32+4
33+5
34+6
35diff --git a/file2 b/file2
36deleted file mode 100644
37index 01e79c3..0000000
38--- a/file2
39+++ /dev/null
40@@ -1,3 +0,0 @@
41-1
42-2
43-3
44--
45g-i-t--v-e-r-s-i-o-n
46
47
a40d384c 48From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
d410e43b
JH
49From: A U Thor <author@example.com>
50Date: Mon, 26 Jun 2006 00:02:00 +0000
a567fdcb 51Subject: [PATCH 2/3] Third
85540929 52
d410e43b 53---
dc801e71
ZJS
54 dir/sub | 2 ++
55 file1 | 3 +++
7f814632 56 2 files changed, 5 insertions(+)
c261e438 57 create mode 100644 file1
d410e43b
JH
58
59diff --git a/dir/sub b/dir/sub
60index 8422d40..cead32e 100644
61--- a/dir/sub
62+++ b/dir/sub
63@@ -2,3 +2,5 @@ A
64 B
65 C
66 D
67+E
68+F
69diff --git a/file1 b/file1
70new file mode 100644
71index 0000000..b1e6722
72--- /dev/null
73+++ b/file1
74@@ -0,0 +1,3 @@
75+A
76+B
77+C
78--
79g-i-t--v-e-r-s-i-o-n
80
81
82From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
83From: A U Thor <author@example.com>
84Date: Mon, 26 Jun 2006 00:03:00 +0000
a567fdcb 85Subject: [PATCH 3/3] Side
85540929 86
d410e43b 87---
dc801e71
ZJS
88 dir/sub | 2 ++
89 file0 | 3 +++
90 file3 | 4 ++++
7f814632 91 3 files changed, 9 insertions(+)
c261e438 92 create mode 100644 file3
d410e43b
JH
93
94diff --git a/dir/sub b/dir/sub
95index 35d242b..7289e35 100644
96--- a/dir/sub
97+++ b/dir/sub
98@@ -1,2 +1,4 @@
99 A
100 B
101+1
102+2
103diff --git a/file0 b/file0
104index 01e79c3..f4615da 100644
105--- a/file0
106+++ b/file0
107@@ -1,3 +1,6 @@
108 1
109 2
110 3
111+A
112+B
113+C
114diff --git a/file3 b/file3
115new file mode 100644
116index 0000000..7289e35
117--- /dev/null
118+++ b/file3
119@@ -0,0 +1,4 @@
120+A
121+B
122+1
123+2
124--
125g-i-t--v-e-r-s-i-o-n
126
127$