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> |
3 lat temu | |
---|---|---|
.. | ||
gitrepo/internal | RepoText: Remove unused externalized string | 4 lat temu |
internal | ApplyCommand: support binary patches | 3 lat temu |
util/sha1 | Move SHA1 compress/recompress files to resource folder | 7 lat temu |