在Windows上,我有两个源文件,并希望创建一个有差异的补丁,就像这个.但我不确定,这个补丁的格式是什么,以及用什么应用程序来创建它?GNU diff输出与我在上面链接中看到的补丁非常不同.
Dav*_*ton 21
谢谢,PhiLho和Lukáš!UnxUtils的diff程序在Windows 7下运行良好,可以生成补丁文件:
diff -u oldfile newfile >patchfile
Run Code Online (Sandbox Code Playgroud)
同样,UnxUtils的补丁程序非常适合应用补丁:
patch -u oldfile patchfile
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
33711 次 |
最近记录: |