107

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.

Neuron
  • 5,141
  • 5
  • 38
  • 59
u123
  • 15,603
  • 58
  • 186
  • 303
  • Why don't you accept the solution ? – Sampath Jul 03 '16 at 13:25
  • 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. – Guney Ozsan Nov 25 '18 at 15:55

2 Answers2

171

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

Neuron
  • 5,141
  • 5
  • 38
  • 59
Bill Tarbell
  • 4,933
  • 2
  • 32
  • 52
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.

Neuron
  • 5,141
  • 5
  • 38
  • 59
matt wilkie
  • 17,268
  • 24
  • 80
  • 115