interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4013 / diff.log_-p_--diff-merges=first-parent_main

137 lines · 2006 bytes Raw Blame History
1$ git log -p --diff-merges=first-parent main
2commit 59d314ad6f356dd08601a4cd5e530381da3e3c64
3Merge: 9a6d494 c7a2ab9
4Author: A U Thor <author@example.com>
5Date: Mon Jun 26 00:04:00 2006 +0000
6
7 Merge branch 'side'
8
9diff --git a/dir/sub b/dir/sub
10index cead32e..992913c 100644
11--- a/dir/sub
12+++ b/dir/sub
13@@ -4,3 +4,5 @@ C
14 D
15 E
16 F
17+1
18+2
19diff --git a/file0 b/file0
20index b414108..10a8a9f 100644
21--- a/file0
22+++ b/file0
23@@ -4,3 +4,6 @@
24 4
25 5
26 6
27+A
28+B
29+C
30
31commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
32Author: A U Thor <author@example.com>
33Date: Mon Jun 26 00:03:00 2006 +0000
34
35 Side
36
37diff --git a/dir/sub b/dir/sub
38index 35d242b..7289e35 100644
39--- a/dir/sub
40+++ b/dir/sub
41@@ -1,2 +1,4 @@
42 A
43 B
44+1
45+2
46diff --git a/file0 b/file0
47index 01e79c3..f4615da 100644
48--- a/file0
49+++ b/file0
50@@ -1,3 +1,6 @@
51 1
52 2
53 3
54+A
55+B
56+C
57diff --git a/file3 b/file3
58new file mode 100644
59index 0000000..7289e35
60--- /dev/null
61+++ b/file3
62@@ -0,0 +1,4 @@
63+A
64+B
65+1
66+2
67
68commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
69Author: A U Thor <author@example.com>
70Date: Mon Jun 26 00:02:00 2006 +0000
71
72 Third
73
74diff --git a/dir/sub b/dir/sub
75index 8422d40..cead32e 100644
76--- a/dir/sub
77+++ b/dir/sub
78@@ -2,3 +2,5 @@ A
79 B
80 C
81 D
82+E
83+F
84diff --git a/file1 b/file1
85new file mode 100644
86index 0000000..b1e6722
87--- /dev/null
88+++ b/file1
89@@ -0,0 +1,3 @@
90+A
91+B
92+C
93
94commit 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44
95Author: A U Thor <author@example.com>
96Date: Mon Jun 26 00:01:00 2006 +0000
97
98 Second
99
100 This is the second commit.
101
102diff --git a/dir/sub b/dir/sub
103index 35d242b..8422d40 100644
104--- a/dir/sub
105+++ b/dir/sub
106@@ -1,2 +1,4 @@
107 A
108 B
109+C
110+D
111diff --git a/file0 b/file0
112index 01e79c3..b414108 100644
113--- a/file0
114+++ b/file0
115@@ -1,3 +1,6 @@
116 1
117 2
118 3
119+4
120+5
121+6
122diff --git a/file2 b/file2
123deleted file mode 100644
124index 01e79c3..0000000
125--- a/file2
126+++ /dev/null
127@@ -1,3 +0,0 @@
128-1
129-2
130-3
131
132commit 444ac553ac7612cc88969031b02b3767fb8a353a
133Author: A U Thor <author@example.com>
134Date: Mon Jun 26 00:00:00 2006 +0000
135
136 Initial
137$