KDiff3: "There is a line end style conflict"
Asked Answered
I

2

109

I am trying to use KDiff3 to solve conflicts on windows. But when run the merge I get:

KDiff3: "There is a line end style conflict"

And nothing is merged/solved:

first screenshot

Even though I selected DOS line ending before running the merge:

second screenshot

Any ideas?

It seems to work if I just save instead of pressing the Merge button. That could be a solution.

Iridescence answered 9/12, 2014 at 15:41 Comment(2)
Why don't you accept the solution ?Smithson
What you choose is about the result of Merge. Since a conflict occurs during Merge operation, first choosing a line ending and then running Merge practically resets your choice back to conflict. Run Merge, get a conflict, make your choice, and then save.Snag
S
176

Here's a screenshot to walk you through the process that Matt Wilkie described in his answer.

  1. Click in the C pane.
  2. Choose an encoding other than 'conflict'
  3. Save

enter image description here

Stymie answered 20/5, 2016 at 16:20 Comment(2)
I found no need to do step 1. (kdiff3 Version 0.9.98 (64 bit))Donniedonnish
Ant note that in the newer version that feature works better! in 1.9.5 it solves conflict automatically!Kakaaba
M
52

What worked for me:

  • make the output pane active (click in it),
  • manually choose both Encoding and Line end style drop down choices,
  • save (Ctrl + S).

Without doing all three steps, I just kept getting the same error popup. Choosing Use A everwhere and/or related merge menu items had no effect.

Misogynist answered 7/3, 2015 at 6:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.