289 points · by niedzielski · 4y ago · 149 comments
It has a new release and is the most Mac-like of the various diff tools I've used.
That said, I haven't used the new Kaleidoscope (although I was a fan of their last version and happily used it for 8 years or so), and currently use Sublime Merge.
Edit: someone care to explain to me why this completely innocuous comment on my personal philosophy of tool value is worthy of downvoting to -2?
Maybe they were pushing back against the idea of paying money, for good quality software, that provides value to your life?!? Haha, joking of course. But seriously, I agree with you. If it is a tool that I use all the time, makes my life easier, and is of good quality… I’m happy to pay up for a license.
I’ve spent way more than that on my favorite database GUI clients over the years. Money well spent, and the developers earned it. Happy to support them!
It still gives me sticker shock, though.
Meaning, comparing two slightly different copies of a project containing maybe 1/4 a million files, with a few variations between them. It takes quite a while to initially open the comparison window, and that's fine as it's a lot of data to churn thru.
But where the problem lies, is when you dbl click into a subdirectory of that comparison, it again takes forever to open a window for just the contents of that directory, even thou it already has done a full comparison of all the files in it, when opening the parent comparison. For some reason it starts again in that sub directory instead of just using the comparison data it's previously generated.
I've used Araxis Merge, it's clunky, not really a true mac app, but actually works fairly decently. Pity it's effectively a subscription.
Meld is ok, but crashes with large comparisons, and the UI is fairly painful.
But for personal use the UI improvements aren't quite enough to push me over the edge to buying it. The cheaper or open-source tools do just fine.
Like "oh I could build that" kind of epiphanies.
It might seem expensive at first if you are not used to paying for software but it's not a subscription and if you use it at work you can probably get it through your employer in any case.
Perhaps in the future BC will switch to the Cocoa backend and provide more "native" controls (and wont need to bundle Qt either).
I hate how the UI looks like a half-assed rip-off of Windows 95, but it's the only tool I know that shows me everything I want to see when merging / rebasing git branches.
I think it also allows comparing 3 or more arbitrary files, which seems like a pretty basic task that most diff tools just can't do at all.
KDiff3 is another tool that supports it.
A fortnight later, they wreck a merge and they spend their afternoon re-merging conflicts they’ve already had.
Such people almost always use the git tools provided in IntelliJ.
I wouldn't know how to explain what does the magic wand do, but it seems a huge waste of time NOT having it in other merge solutions. I can't remember a case where it the magic wand was causing a semantic error and I'm using it for 7-8 years by now. Mostly in Clojure code though.
Sadomasochism runs deep.
If you’re not suffering for your craft, you’re not a Real Programmer.
OTOH, IntelliJ’s "Magic wand" is totally worth the hassle.
I became familiar with it at a previous job that used perforce, and I have just kept using it with git. It's free to download, although you have to fill out an annoying form.
But Meld is great at 2 way merges, and allowing you to selectively apply changes.
Dedicated to Osama
If you use this software, please pray for my brother.
https://www.stuff.co.nz/national/christchurch-shooting/111375038/osama-abu-kwaik-was-a-refugee-born-to-an-orphan-who-died-in-christchurch-the-city-he-loved
https://github.com/yousseb/meld/releases/tag/osx-19It appears this is the same version (the page says "Homebrew now installs Meld for OSX").
The macOS integration is a bit klunky (really feels like a non-native app), but this remains my preferred visual diff app. Thanks to those who make it and maintain the macOS port.
diffstatic is nice too and use it sparingly
Meld, on the other hand, is the best tool for comparing local copies and directories.
Is there some other tool out there that works in a similar way, and that good?
(tho, typing idea . and doing a merge fix is not that bad)
[mergetool "idea"]
cmd = /usr/bin/env idea merge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
Then you just run `git mergetool -t idea` and voilà[1]: https://www.jetbrains.com/help/idea/command-line-merge-tool....
That tool is so good because it leverages the entire eco-system of IDE it is running in. The resulting merge panel is as powerful as any editor window in the IDE. It has code inspections, it detects missing imports, it does everything.
It might be the case that ripping the diff/merge tool out of the IDE would result in way inferior product than we get when we use it within the IDE.
Otherwise, yeah it's amazing!
I've used it for more than 15 years, and bought it 3-4 times. I honestly don't believe it's worth that, and I'm not going to buy it again. I would be willing to pay what they ask for a years license, to actually own it in perpetuity, only receiving updates when OS changes stop it functioning. As they won't offer that, I no longer use it.
If you work primarily with frontend technologies and want a syntax aware diff on GitHub PRs, difflens might be right up your alley! Standalone Mac and Windows apps are coming out soon.
old job: Changes staged locally for 2-3 weeks sometimes. Team-specific branches, integrating into the mainline periodically.. eventually moved to several hundred devs committing to mainline. One monster repo
Beyond Compare 2 was the only tool for the job simply for the ability to provide a manual hint (via spacebar) to align two version of the same file
current company: never merge more than a line or two which I do with vim. Change sets only last max 1 week on my machine. We have 5-6 services (each in their own repo). 20 people committing amongst them all.
I do wish our code review tool was better though. Perhaps I will take one of the suggestions from this thread and build a custom CR work flow.
On that page you can paste your merge conflict and copy the automatically merged result, along with some useful diffs. I hope it helps someone else. So far it solves around 80% of my conflicts automatically.
[difftool "meld"]
cmd = meld "$LOCAL" "$REMOTE"
[mergetool "meld"]
cmd = meld --auto-merge --output "$MERGED" "$LOCAL" "$BASE" "$REMOTE"As are many other apps. Yet they keep getting redesigned and engulfed by endless feature creep because people gotta work on something.
Put this in your ~/.gitconfig
[merge]
tool = opendiff
then next time you get a merge conflict, just do: `git mergetool`
it will open xcode's FileMerge.app, which is the best mergetool I've ever used.Indeed, I have it on my Turbo NeXTStation (3.2). Was it revised slightly for NeXTSTEP 4.0 (1996) perhaps?
In fact, I use Wine on my Mac specifically so I can use WinMerge.
The same thing for KDE connect two days ago. I am not sure I totally agree with the feeling though, in fact, it's the opposite. Many apps I use on a daily basis are not available for Mac.
I know that it's mostly security theather, but those scary warnings that Apple shows for software they haven't notarized must scare a lot of people away.
People who ascribe to the FLOSS ethos are often opposed to the terms and conditions Apple dictates.
Is there some common repository of merge conflicts, which one can use to gauge how well a certain tool fares?
Always used meld on Ubuntu as well. I love how simple and clear it is.
Small UX/QOL improvement on OSX could be to remember the window's position and size between launches.
Anyone know how to actually do that? I've not been able to find a donation link on the Meld website.
“We usually don’t receive donations for specific GNOME projects, but we collect donations for the whole organization. You can donate to GNOME at Donate – GNOME 6
Thanks for your interest in helping!“
(donation link is https://www.gnome.org/donate/)
The most recent version works on Mojave and is available via Homebrew.