tags:

views:

600

answers:

3

Hello.

On windows, i have two source files and want to create a patch with difference, like this one. But i'm unsure, what format his patch is and what app to use in order to create it? GNU diff output is very different from the patch i can see in the link above.

+4  A: 

The output format is called "unified diff", it can be generated using diff -u.

Lukáš Lalinský
+1  A: 

Try WinMerge. You'll find a patch generator in the "Tools" menu.

Aaron Digulla
+1  A: 

The UnxUtils package offers lot of useful Unix tools for Windows, with a minimal impact on Windows installation (unzip, add location to path, use it).
It has a diff.exe

PhiLho