Live data from Hacker News

Meld is a visual diff and merge tool targeted at developers

meldmerge.org

51–60 of 146 posts

Re: Meld is a visual diff and merge tool targeted at developers

#51
post #40

As a long time Sublime Text[1] user, I've been using Sublime Merge[2] since the day it's been launched and it brings me the same speed and minimalism I get with Sublime Text and has evolved quite a lot to be able to do most things I need in a merge tool. Not affiliated with them in any way by the way. [1] https://www.sublimetext.com/ [2] https://www.sublimemerge.com/

Same here. So far it's my favorite UX for solving non-trivial merge conflicts.

Re: Meld is a visual diff and merge tool targeted at developers

#54
post #15

I've been using Meld since years ago, and it's my default go-to diff viewer. The visual style they implemented helps me a lot to reason about how lines have been added or deleted from documents in the side by side comparison. Very neat! The directory contents tree diff is also really useful. I wish they made it even easier the basic case of comparing aribtrary text. Maybe it should be the default mode after opening t…

Yeah, I use it a lot, but 80% of that is comparing arbitrary text that I just want to copy-paste in. To be fair, that's just two clicks now (first click "File" comparison, then "blank comparison"), but that still feels a bit cumbersome.

Re: Meld is a visual diff and merge tool targeted at developers

#55
post #8

It's not open source, and comes with all the baggage of perforce, but p4merge and p4diff are just excellent tools that I install on every machine I work on.

What baggage? They can be downloaded separately

https://www.perforce.com/products/helix-core-apps/merge-diff...

Re: Meld is a visual diff and merge tool targeted at developers

#56

these days, vscode does a fantastic job. you just use code --diff file1.js file2.js

meld will compare trees of folders. Does vsc?

Yup. Tons of options.

https://marketplace.visualstudio.com/items?itemName=L13RARY....

Re: Meld is a visual diff and merge tool targeted at developers

#58

Meld might be useful for comparison, but in my opinion it is inconvenient as a git merge tool. For git merge I need four panels: original file, version A, version B, merged result. Meld has only three panels. Currently I am using KDiff3. It is a little buggy and doesn't have a nice UI but it is the best open source merging tool that I am aware of. It allows choosing lines from original file, from A, B and manual edit…

> original file, version A, version B, merged result

Isn't one of version A or B the original file? What am I missing?

Re: Meld is a visual diff and merge tool targeted at developers

#59
> On OS X, Meld is not yet officially supported. For pre-built binaries, these OS X builds are the best option.

> You can also get Meld from MacPorts, Fink or Brew; none of these methods are supported.

Can anyone recommend any of these unsupported options? The best diff GUI tool I've been able to find for OSX is DiffMerge (https://sourcegear.com/diffmerge/) on the App Store, and I'd like to have a tree view for folder comparisons.

Re: Meld is a visual diff and merge tool targeted at developers

#60

Meld might be useful for comparison, but in my opinion it is inconvenient as a git merge tool. For git merge I need four panels: original file, version A, version B, merged result. Meld has only three panels. Currently I am using KDiff3. It is a little buggy and doesn't have a nice UI but it is the best open source merging tool that I am aware of. It allows choosing lines from original file, from A, B and manual edit…

I really wish kdiff3 would get a modern update.

kdiff3 does have a modern version: https://invent.kde.org/sdk/kdiff3/.

Unfortunately versions starting at 1.9.0 are drastically buggier than 1.8.5: Ctrl+C being incorrectly enabled and disabled (https://bugs.kde.org/show_bug.cgi?id=444636), merge errors (https://bugs.kde.org/show_bug.cgi?id=437570, fixed), drastic slowdown when loading CRLF files (https://bugs.kde.org/show_bug.cgi?id=450411, fixed), recurring assertion errors (didn't personally encounter, but https://bugs.kde.org/show_bug.cgi?id=426301, https://bugs.kde.org/show_bug.cgi?id=442618), large chunks of Git history producing unusable binaries that corrupt memory or print assertion errors when loading files, etc. I stopped following KDiff3 development and decided to pin 1.8.5 on my system, which actually works.

Another fork of KDiff3 is https://github.com/michaelxzhang/kdiff3. I haven't tested it, but I hope the alternative diff coloration makes it easier to see single-word/space insertions and deletions within a line (which is something I often fail to notice in mainline KDiff3).

Post reply on HN