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.
139 questions
7
votes
1 answer

Can Mercurial use a better diff tool to more efficiently store its changesets?

I use TortoiseHg to commit changes. The (default) diff that is shown in the commit dialog contains a lot of additions/deletions. But in contrast when I click on the diff icon in the commit dialog, KDiff3 opens and that comparison is a lot more…
jan
  • 1,581
  • 2
  • 19
  • 34
7
votes
1 answer

smartgit and kdiff3 integration

The merge tool that come with smartgit is very confusing. I am not able to configure kdiff3. I dont get to configure the common ancestor. These are the only three files they give me to configure: ${mergedFile} ${rightFile} ${leftFile} Is there a…
Rajani Karuturi
  • 3,450
  • 3
  • 27
  • 40
6
votes
2 answers

How to solve the problem that KDiff adds extra blank lines when resolving merge conflicts?

How to solve the problem that KDiff adds extra blank lines when resolving merge conflicts? Changing the end line and encoding in the settings to any others does not help. If before running git mergetool we have: line1 line2 line3 then after…
LANSELOT
  • 185
  • 2
  • 9
6
votes
2 answers

Copy single difference in kdiff3

Is it possible to copy only one change or many changes one by one in kdiff? There are such options in WinMerge which allow to copy chnge from one file to second file without merging. I need to copy few changes from one file to another and want to do…
Krzysiek Grzembski
  • 960
  • 10
  • 20
6
votes
2 answers

Is there a command-line equivalent to kdiff3 that allows selective merging?

kdiff3 is a GUI diff tool that allows you to create a diff of two/three files and selectively choose which lines make up the merged file. Is there a command-line equivalent?
Alex
  • 428
  • 4
  • 14
5
votes
2 answers

Saving merges using KDiff3 with TortoiseSVN

Wanting to use KDiff3 as my conflict resolution tool for TortoiseSVN I followed the instructions here and here to configure TortoiseSVN to use KDiff3. My merge tool settings in TortoiseSVN are thus: C:\Program Files (x86)\KDiff3\kdiff3.exe %base…
Ryan Taylor
  • 8,740
  • 15
  • 65
  • 98
5
votes
1 answer

kdiff3 giving error on "git difftool --dir-diff"

I just upgraded kdiff3 on my mac (using brew). Since I did that, everytime I run git difftool --dir-diff branch I get a modal dialog box that has the title "Some files could not be processed." and has a text area with zero or more "Mix of…
user3742898
  • 343
  • 1
  • 2
  • 9
5
votes
1 answer

brew cask install kdiff3 fails

brew cask install kdiff3 Error: Cask 'kdiff3' is unavailable: No Cask with this name exists. brew install kdiff3 Error: No available formula with the name "kdiff3" ==> Searching for a previously deleted formula (in the last month)... Warning:…
mrgloom
  • 20,061
  • 36
  • 171
  • 301
5
votes
2 answers

Choose A as output of merging in KDiff3

Currently I've got stuck with merging files in KDiff. Let's say I have file A and B. A is in the left and B in the right. And now I want to merge file B to A, but when I click Merge Current File button, it shows merge editor with B file as an output…
5
votes
1 answer

base mine theirs

Just now I've got suggestions to my another question and am trying to merge my feature branch to the working copy of the trunk in the working copy directory of the trunk. Due to a couple of conflicts I'm using KDiff3 to resolve them. However I'm not…
JohnMunich
  • 601
  • 3
  • 9
  • 15
5
votes
2 answers

How to get 3-way merge in GIT on non-conflict merges?

How to disable auto-merging in GIT? The purpose is to have the same behaviour as for conflict merges resolution in automatic merges during invocation of command chain: $ git fetch $ git merge some_branch $ git mergetool The last command leads us to…
Aleks Wrotor
  • 51
  • 1
  • 3
5
votes
3 answers

Cygwin Git: The merge tool kdiff3 is not available

I'm trying to get my cygwin git installation working with kdiff3. I followed Noam Lewis' instructions here: http://noamlewis.wordpress.com/2011/03/22/how-to-use-kdiff3-as-a-difftool-mergetool-with-cygwin-git/ But it's not working :( Running git…
Mike Hadlow
  • 9,427
  • 4
  • 45
  • 37
5
votes
1 answer

Strange conflict on git

I read an article about three-way merges (diff3). It gives an example about how is detects a conflict. The example is : A=[1,4,5,2,3,6] O=[1,2,3,4,5,6] <<< Origin B=[1,2,4,5,3,6] In the first time it computes the diff between O-A and after…
Mehdi
  • 2,160
  • 6
  • 36
  • 53
4
votes
1 answer

How do I merge branches in git that is similar to my mercurial workflow?

N.B. I’m using Windows 10, but I do have access to a Ubuntu 20 VM server (no desktop GUI). I installed mercurial by installing tortoisehg which also “courtesy” installs KDiff3 for merging. The git repo I’m using is being hosted in github. I’m using…
WhiskerBiscuit
  • 4,795
  • 8
  • 62
  • 100
4
votes
2 answers

git - set KDiff3 as default mergetool

After installing KDiff3 for managing conflicts in git, still the default one is opening for me: Here is the configuration that mentioned in this answer: git config --global --add merge.tool kdiff3 git config --global --add mergetool.kdiff3.path…
Vahid Najafi
  • 4,654
  • 11
  • 43
  • 88
1 2
3
9 10