summaryrefslogtreecommitdiff
path: root/tests/patch
Commit message (Expand)AuthorAgeFilesLines
* patch_parse: fix segfault when header path contains whitespace onlyPatrick Steinhardt2019-11-052-0/+26
* patch_parse: detect overflow when calculating old/new line positionPatrick Steinhardt2019-10-212-0/+15
* patch_parse: fix out-of-bounds read with No-NL linesPatrick Steinhardt2019-10-191-0/+13
* patch_parse: reject empty path namesPatrick Steinhardt2019-10-192-0/+13
* patch_parse: reject patches with multiple old/new pathsPatrick Steinhardt2019-10-192-0/+13
* patch_parse: handle patches without extended headersDenis Laxalde2019-10-161-0/+10
* apply: Test for EOFNL mishandling when several hunks are processedMax Kostyukevich2019-08-281-0/+26
* Merge pull request #5159 from pks-t/pks/patch-parse-old-missing-nlEdward Thomson2019-07-202-3/+33
|\
| * patch_parse: ensure valid patch output with EOFNLErik Aigner2019-07-111-9/+15
| * patch_parse: handle missing newline indicator in old filePatrick Steinhardt2019-07-112-0/+24
* | patch_parse: do not depend on parsed buffer's lifetimePatrick Steinhardt2019-07-051-0/+20
|/
* patch_parse.c: Handle CRLF in parse_header_startDrew DeVault2019-04-051-0/+9
* tests: diff: test parsing diffs with a new file with spaces in its pathErik Aigner2019-03-291-0/+9
* patch: add support for partial patch applicationJason Haslam2018-11-051-0/+106
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-1/+1
* patch_parse: allow parsing ambiguous patch headersPatrick Steinhardt2017-11-112-0/+16
* diff: implement function to calculate patch IDPatrick Steinhardt2017-06-261-1/+60
* diff: treat binary patches with no data specialethomson/diff-read-empty-binaryEdward Thomson2016-09-052-0/+11
* patch: differentiate not found and invalid patchesEdward Thomson2016-05-261-6/+75
* git_patch_parse_ctx: refcount the contextEdward Thomson2016-05-262-0/+2
* patch: `git_patch_from_patchfile` -> `git_patch_from_buffer`Edward Thomson2016-05-262-2/+4
* apply: test postimages that grow/shrink originalEdward Thomson2016-05-261-0/+89
* Introduce git_patch_options, handle prefixesEdward Thomson2016-05-262-4/+6
* patch_parse: test roundtrip patch parsing -> printEdward Thomson2016-05-261-0/+166
* patch_parse: ensure we can parse a patchEdward Thomson2016-05-261-0/+31
* apply: move patch data to patch_common.hEdward Thomson2016-05-261-0/+574