Thomas Wolf
10ac449911
ApplyCommand: support binary patches
Implement applying binary patches. Handles both literal and delta patches. Note that C git also runs binary files through the clean and smudge filters. Implement the same safeguards against corrupted patches as in C git: require the full OIDs to be present in the patch file, and apply a binary patch only if both pre- and post-image hashes match. Add tests for applying literal and delta patches. Bug: 371725 Change-Id: I71dc214fe4145d7cc8e4769384fb78c7d0d6c220 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch> |
il y a 3 ans | |
---|---|---|
.. | ||
gitrepo/internal | RepoText: Remove unused externalized string | il y a 4 ans |
internal | ApplyCommand: support binary patches | il y a 3 ans |
util/sha1 | Move SHA1 compress/recompress files to resource folder | il y a 7 ans |