How to create a PATCH file for the binary difference output file

前端 未结 4 1863
逝去的感伤
逝去的感伤 2021-02-08 05:02

I want to know how to create a PATCH for the difference file I got by comparing two binary files. $cmp -l > output file name

I checked for text files \'diff\" can be

4条回答
  •  灰色年华
    2021-02-08 05:29

    If your repository, or package is using git you can make binary diff with git diff --patch --binary old_dir patched_dir Of course you can also use it with commits git diff --patch --binary commit1 commit2

提交回复
热议问题