mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
Fix binary headers in formatted patches (#56)
Include file names in the header (now that we can actually parse them) and fix a bad find-and-replace that changed "differ" to "fmer". Add a new test to verify that binary files without data format correctly.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
diff --git a/file.bin b/file.bin
|
||||
index a7f4d5d..bdc9a70 100644
|
||||
Binary files a/file.bin and b/file.bin differ
|
||||
Reference in New Issue
Block a user