]> git.ipfire.org Git - thirdparty/git.git/blame - t/t4013/diff.format-patch_--stdout_initial..master^
t4013 diff format tests update
[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
5Subject: [PATCH] Second
a40d384c
JH
6
7This is the second commit.
d410e43b
JH
8---
9 dir/sub | 2 ++
10 file0 | 3 +++
11 file2 | 3 ---
12 3 files changed, 5 insertions(+), 3 deletions(-)
13
14diff --git a/dir/sub b/dir/sub
15index 35d242b..8422d40 100644
16--- a/dir/sub
17+++ b/dir/sub
18@@ -1,2 +1,4 @@
19 A
20 B
21+C
22+D
23diff --git a/file0 b/file0
24index 01e79c3..b414108 100644
25--- a/file0
26+++ b/file0
27@@ -1,3 +1,6 @@
28 1
29 2
30 3
31+4
32+5
33+6
34diff --git a/file2 b/file2
35deleted file mode 100644
36index 01e79c3..0000000
37--- a/file2
38+++ /dev/null
39@@ -1,3 +0,0 @@
40-1
41-2
42-3
43--
44g-i-t--v-e-r-s-i-o-n
45
46
a40d384c 47From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
d410e43b
JH
48From: A U Thor <author@example.com>
49Date: Mon, 26 Jun 2006 00:02:00 +0000
50Subject: [PATCH] Third
51---
52 dir/sub | 2 ++
53 file1 | 3 +++
54 2 files changed, 5 insertions(+), 0 deletions(-)
55
56diff --git a/dir/sub b/dir/sub
57index 8422d40..cead32e 100644
58--- a/dir/sub
59+++ b/dir/sub
60@@ -2,3 +2,5 @@ A
61 B
62 C
63 D
64+E
65+F
66diff --git a/file1 b/file1
67new file mode 100644
68index 0000000..b1e6722
69--- /dev/null
70+++ b/file1
71@@ -0,0 +1,3 @@
72+A
73+B
74+C
75--
76g-i-t--v-e-r-s-i-o-n
77
78$