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
15
votes
2 answers

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,072
  • 2
  • 11
  • 24
14
votes
4 answers

How to get directory git branch diff using kdiff

I have configured kDiff3 with my git. What I need is to see directory difference between two branches. when I run git difftool command it opens all files one by one. But that is not I want.
Mahesh Chavda
  • 141
  • 1
  • 3
13
votes
2 answers

What does A (base), B (local), C (remote) in KDiff3 tied to git conflict solver?

Lets assume i have a git branch FIX-8834 and branch VERSION-12. I want to merge FIX-8834 to VERSION-12 in git. Git tells there is a conflict. I use Kdiff3 to solve it. KDiff3 opens and there are 3 files open: A(base), B(local) and C(remote). What…
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
13
votes
3 answers

git tells me that I Merge conflict, but also tells me that no files need merging

I committed some changes in the branch new. I checkout out to master. When I tried to merge: $ git merge new Auto-merging js/site.js CONFLICT (content): Merge conflict in js/site.js Automatic merge failed; fix conflicts and then commit the…
Trufa
  • 39,971
  • 43
  • 126
  • 190
12
votes
2 answers

kdiff3 merge does not work

While using KDiff3 to resolve merge conflicts, how do I save the resolved copy of the A and B versions? I open KDiff3 to resolve merge conflicts. I am able to resolve each conflict by selecting the desired version. When I have resolved all of the…
halcwb
  • 1,480
  • 1
  • 13
  • 26
12
votes
2 answers

How can I configure KDiff3 in Git Extensions?

When I open Git Extensions, the result is like this: I try to repair it. I click the repair button. But there isn't any action. I get some reference: Git: How can I configure KDiff3 as a merge tool and diff tool?. I try it like this: But it does…
moses toh
  • 12,344
  • 71
  • 243
  • 443
12
votes
1 answer

KDiff3 (on Windows): ignore Line end style

I´m comparing two versions of a C code, and some files differ only for the Line end style (Unix or DOS). How can I tell KDiff3 to ignore such difference? Note: I cannot pre-process the code with dos2unix on one of the two versions I´m using…
Sara
  • 465
  • 5
  • 15
11
votes
2 answers

How resolve this Mercurial conflict?

I'm frustrated with Mercurial and Python since it makes easy things difficult. I have a trivial conflict and since Mercurial does not give any suggestion what to do I don't know even how to resolve this trivial file conflict: The conflict is…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
10
votes
1 answer

How to Merge Conflicts by Selecting Lines from Both?

I'm learning the use of version control (with Tortoise HG) so this question might be very basic, but I can't figure out how to solve it. Suppose Branch A has a text file with the following: A B C D E F Branch B has the same text file…
10
votes
1 answer

Using external diff tools with Mercurial

Anyone know how integrate ExamDiff with Mercurial? I have KDiff3 set up but couldn't figure out how to set up ExamDiff. Update: Per accepted answer, this .hgrc config worked: [extensions] hgext.extdiff = [extdiff] cmd.examdiff = C:\Program…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
9
votes
2 answers

Git difftool - KDiff3 can't edit a file

I have the following difftool configuration for KDiff3 in file .gitconfig, [difftool "kdiff3"] external = '"C:/Program Files/KDiff3/kdiff3.exe" "$LOCAL" "$REMOTE" --output "$MERGED"' trustExitCode = false [difftool] prompt =…
B Dev
  • 91
  • 1
  • 3
7
votes
2 answers

KDiff3 missing window controls after upgrade to Ubuntu 18

I recently upgrade from Ubuntu 16 to Ubuntu 18.04.4. When I open kdiff3 it only opens into a maximized window with no controls visible (minimize/maximize/close). If I invoke from Applications menu (or command line without any files specified), the…
7
votes
1 answer

How do I get KDiff3 to auto merge with no UI?

How do I get KDiff3 to automatically do a 3-way merge such that it shows no UI? Ideally, if it succeeds, it returns success, and if it can't (it needs manual merging), it returns an error code. Everything I've read seems to imply that the following…
7
votes
3 answers

How to use visual merging tools?

I can't get my head around KDiff3 or Beyond Compare in the merge mode. Is there any tutorial to this feature?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
7
votes
0 answers

How Do I Make KDiff3 Not Show A GUI If All Conflicts Are Resolved?

KDiff3 ships with a diff3_cmd.bat for use with the svn diff3-cmd. See below (comments stripped) SET DIFF3="C:\Program Files\KDiff3\kdiff3.exe" SHIFT SHIFT SET MINE=%7 SET OLDER=%8 SET YOURS=%9 %DIFF3% %OLDER% %MINE% %YOURS% -o merged.txt type…
opticyclic
  • 7,412
  • 12
  • 81
  • 155
1
2
3
9 10