News for hackers. Stuff that matters.
Re:Meld for Macs by kodisha on Monday May 16, 2022 @05:47PM (#31403538)
I REALLY love the way merge tool works in IntelliJ IDEA.

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)

Re:Meld for Macs by augusto-moura on Monday May 16, 2022 @10:16PM (#31405364)
You actually CAN use idea as a standalone merge tool[1], I have these lines in my .gitconfig for years now:

   [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....

Re:Meld for Macs by sanirank on Monday May 16, 2022 @05:54PM (#31403607)
I wish IntelliJ would sell git-only tool - their three way merge tool is the best I’ve used, and would gladly pay for a license.
Re:Meld for Macs by kodisha on Monday May 16, 2022 @06:11PM (#31403739)
Actually, I think I answered my own question.

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.

Re:Meld for Macs by sk0g on Monday May 16, 2022 @07:16PM (#31404184)
The only issue I have with it is that it doesn't provide breadcrumbs when diffing. If you've set it to collapse unchanged fragments, it can be hard to tell when a line is in another function, conditional block, etc.

Otherwise, yeah it's amazing!

Re:Meld for Macs by xwowsersx on Monday May 16, 2022 @09:15PM (#31404895)
It's great. When I'm in a file in PyCharm or IntelliJ, I use ⌥⌘x (custom keymapping for select branch to compare) to select a branch to compare to and the diff is great.
Re:Meld for Macs by alostpuppy on Monday May 16, 2022 @08:14PM (#31404565)
Agreed. The magic button the top have saved me dev years of time.
Re:Meld for Macs by xwowsersx on Monday May 16, 2022 @09:13PM (#31404885)
Which magic button?