Questions tagged [kdiff3]

KDiff3 is a diff/merge program that compares or merges two or three text input files or directories and shows the differences line by line and character by character (!).

KDiff3 is a diff and merge program that:

  • compares or merges two or three text input files or directories,
  • shows the differences line by line and character by character (!),
  • provides an automatic merge-facility and
  • an integrated editor for comfortable solving of merge-conflicts,
  • supports Unicode, UTF-8 and other codecs, autodetection via byte-order-mark "BOM"
  • supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.),
  • Printing of differences,
  • Manual alignment of lines,
  • Automatic merging of version control history ($Log$),
  • and has an intuitive graphical user interface.
134 questions
245
votes
7 answers

Git: How configure KDiff3 as merge tool and diff tool

Recently I was using GitExtension 2.46, but the Git version that has the same is 1.9.4.msysgit.2. Willing to use only Git commands, I uninstalled GitExtension and install the latest version available of Git and KDiff3. When I make a merge and have…
Joseph
  • 8,459
  • 12
  • 32
  • 47
90
votes
2 answers

KDiff3: "There is a line end style conflict"

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: Even though I selected DOS line ending before running the merge: Any ideas? It seems…
u123
  • 12,921
  • 42
  • 141
  • 247
78
votes
5 answers

What are A, B, and C in KDIFF merge

Why am I given three choices when merging between my code and someone else's? Shouldn't there just be my code, the other person's code, and the output below? The documentation for KDIFF doesn't help me understand.
smuggledPancakes
  • 8,687
  • 18
  • 64
  • 104
62
votes
2 answers

How to configure kdiff3 instead of emerge as a git mergetool?

I have Git on mac OSX Snow Leopard and I tried to edit my merge and diff tool to use kdiff3 instead of emerge. But when I try to use it does not launch the GUI of kdiff and keeps me with a cmd based interface. My setting in gitconfig are: [merge] …
AKFourSeven
  • 1,205
  • 3
  • 18
  • 27
45
votes
1 answer

Manual Diff Alignment in KDiff3

The "Add Manual Diff Alignment" in KDiff3 doesn't seem to do anything. The online documentation is rather sparse. Does this function actually work?
GaTechThomas
  • 4,195
  • 3
  • 32
  • 52
33
votes
5 answers

How could I force mergetool GUI (KDiff3) to be always shown?

How could I force the mergetool GUI to be always shown and disable any automatic resolving? Sometimes when there is a conflict during a merge and I use the mergetool, it simply immediately returns after I hit Enter on question "Hit return to start…
Ondrej Peterka
  • 2,964
  • 4
  • 31
  • 48
27
votes
4 answers

How to set kdiff3 as merge tool for SVN

I would like to be able to resolve conflicts using kdiff3, when SVN notifies me about the conflict. How can I set it as a default tool for this?
gruszczy
  • 37,239
  • 27
  • 119
  • 167
23
votes
5 answers

Kdiff3 won't open with mergetool command

I have conflicts, so I type: git mergetool I then get a message saying: Hit return to start merge resolution tool Normally when I do this, it open kdiff3 so I can merge the differences. now when I do it, it just continues to the next file, and…
iKode
  • 8,501
  • 13
  • 49
  • 76
22
votes
4 answers

How to setup kdiff3 in Mac OS?

In.gitconfig file I setup up the git diff as follows: [diff] tool = kdiff3 [difftool "kdiff3"] path = path_directory/kdiff3.app In this setting kdiff is not accessible and I get the following error when I run in terminal >> git…
J4cK
  • 28,400
  • 8
  • 39
  • 54
20
votes
2 answers

Can ediff merge simultaneously show the ancestor, A, B, and merge buffers?

I'm a die-hard emacs user, but so far have always used kdiff3 for 3-way merges with ancestor, e.g. when performing git merge or rebase. I really like the way that kdiff3 can not only simultaneously display all four versions of the text being…
Adam Spiers
  • 15,491
  • 5
  • 40
  • 61
18
votes
1 answer

kdiff3 selecting the file from remote completely

How can I choose the complete selection in kdiff3 as C (file from remote in kdiff3) instead of changing everything line by line (merge conflicts)? I just want to choose the remote file. Also what is selection A (base file), the remote file checked…
vkaul11
  • 3,428
  • 7
  • 37
  • 60
18
votes
2 answers

From a kdiff3 file comparison, can I generate a diff in unified diff format?

I have a kdiff3 comparison in Windows, and I would like to save the comparison as a text file in unified diff format. I realize this is kind of a strange question. Usually, people already have the text diff in hand, and want to see it graphically…
JXG
  • 6,953
  • 7
  • 29
  • 60
15
votes
3 answers

Git - How to selectively apply changes from one branch to another?

Is it possible to selectively apply changes from one branch to another with Git? More specifically, I use a public dev branch for GitHub and a private master branch for deployment. When changes are made to one branch they will need to be applied to…
toucanb
  • 463
  • 1
  • 3
  • 10
14
votes
2 answers

Doing a three-way compare with Git and KDiff3

Is it possible to set Git up so that I can use the three-way compare in KDiff3? I have two branches that are far too different to auto-merge them, I simply have to check each merge point and I think the best way would be to check out the branch I…
Makis
  • 11,130
  • 10
  • 58
  • 70
14
votes
1 answer

Using KDiff3 to edit diffs with Git

Often when I do diffs I want to edit my local file before committing. This works very well in Eclipse's compare view as it allows you to easily edit the local file as well as copy changes from the previous version. I am trying to set up Git and…
Patrick Marchwiak
  • 1,042
  • 2
  • 10
  • 24
1
2 3
8 9