Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual patch tool for Mac

On Windows, there is TortoiseMerge tool that's able to open patch files (the files produced by git patch / diff -u, etc...), and then act as a visual diff utility to select/edit the patch chunks.

On linux, I've heard kompare does this.

On Mac, I haven't find any tool for this, so do you know any ?

PS: I'm not looking for diff tool which require giving you 2 or 3 files as input (since the patch I'm editing might not be valid, I can't apply the patch on a temporary subset of the file and diff manually).

like image 322
xryl669 Avatar asked Oct 01 '12 10:10

xryl669


People also ask

What is macOS patch management?

What Is Patch Management? The process of regularly keeping the macOS operating system and apps updated is known as patch management. With patch management, you are effectively coordinating the deployment of software patches or updates on your operating systems.

How do I open a patch file on Mac?

The best way to open an PATCH file is to simply double-click it and let the default assoisated application open the file. If you are unable to open the file this way, it may be because you do not have the correct application associated with the extension to view or edit the PATCH file.

What are Apple patches?

A patch contains the instrument, effects, Smart Controls, and routing settings that control the sound of a track. You choose a patch in the Library, which applies those settings to the selected track.


1 Answers

You can use colordiff and pipe in the patch file. Not a GUI, but definitely way better than just trying to read the patch file.

brew install colordiff cat file.patch | colordiff | less -RS

Worked well for my needs. More info here: http://www.markusbe.com/2009/12/how-to-read-a-patch-or-diff-and-understand-its-structure-to-apply-it-manually/

like image 190
Ben Baron Avatar answered Oct 07 '22 00:10

Ben Baron