@@ -128,6 +128,32 @@ cp empty-lines-histogram.txt empty-lines-myers.txt
128128git add empty-lines-histogram.txt empty-lines-myers.txt
129129git commit -q -m c5.4
130130
131+ # The commit history created by the commits above this line is linear, it only
132+ # contains commits that have exactly one parent.
133+ # Below this line, there’s also commits that have more than one parent.
134+
135+ echo -e " line 1 original\nline 2\n line 3" > resolved-conflict.txt
136+ git add resolved-conflict.txt
137+ git commit -q -m c6
138+
139+ echo -e " line 1 changed\nline 2\n line 3" > resolved-conflict.txt
140+ git add resolved-conflict.txt
141+ git commit -q -m c7
142+
143+ git checkout -b different-branch-to-create-a-conflict
144+ git reset --hard HEAD~1
145+
146+ echo -e " line 1 changed in a different way\nline 2\n line 3" > resolved-conflict.txt
147+ git add resolved-conflict.txt
148+ git commit -q -m c8
149+
150+ git checkout main
151+ git merge different-branch-to-create-a-conflict || true
152+
153+ echo -e " line 1 conflict resolved\nline 2\n line 3" > resolved-conflict.txt
154+ git add resolved-conflict.txt
155+ git commit -q -m c9
156+
131157git blame --porcelain simple.txt > .git/simple.baseline
132158git blame --porcelain multiline-hunks.txt > .git/multiline-hunks.baseline
133159git blame --porcelain deleted-lines.txt > .git/deleted-lines.baseline
@@ -141,6 +167,8 @@ git blame --porcelain added-line-before-changed-line.txt > .git/added-line-befor
141167git blame --porcelain same-line-changed-twice.txt > .git/same-line-changed-twice.baseline
142168git blame --porcelain coalesce-adjacent-hunks.txt > .git/coalesce-adjacent-hunks.baseline
143169
170+ git blame --porcelain resolved-conflict.txt > .git/resolved-conflict.baseline
171+
144172git blame --porcelain empty-lines-histogram.txt > .git/empty-lines-histogram.baseline
145173
146174git config --local diff.algorithm myers
0 commit comments