mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
79aa2a9a77
Covers basic literal and delta application. Input files were created by using dd and the 'conv=notrunc' option to modify sections of files created from /dev/urandom. All file start with two null bytes to convince Git they are binary.
9 lines
280 B
Diff
9 lines
280 B
Diff
diff --git a/gitdiff/testdata/apply/bin_fragment_literal_modify.src b/gitdiff/testdata/apply/bin_fragment_literal_modify.src
|
|
GIT binary patch
|
|
literal 32
|
|
ocmZQzU`lR_IpTEv<rOIzfy0_p?@r&O@$6Vny3XCR%F8tM0pJ`CjQ{`u
|
|
|
|
literal 32
|
|
ocmZQzU`lR_IpTEv<rOIzfy0`|3>L*`JUiBtu5<US@-j_*0M$he#sB~S
|
|
|