summaryrefslogtreecommitdiff
path: root/src/apply.c
Commit message (Expand)AuthorAgeFilesLines
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-171-18/+18
* apply: use GIT_ASSERTEdward Thomson2020-11-251-7/+16
* Make the tests run cleanly under UndefinedBehaviorSanitizerlhchavez2020-06-301-0/+3
* git_pool_init: handle failure casesethomson/poolinitEdward Thomson2020-06-011-1/+2
* global: DRY includes of assert.hEtienne Samson2019-11-061-2/+0
* apply: add GIT_APPLY_CHECKDrew DeVault2019-10-221-3/+7
* Merge pull request #5209 from mkostyuk/apply-wrong-patchEdward Thomson2019-09-091-1/+1
|\
| * apply: Fix a patch corruption related to EOFNL handlingMax Kostyukevich2019-08-201-1/+1
* | apply: git_apply_to_tree fails to apply patches that add new filesMax Kostyukevich2019-08-201-3/+6
|/
* apply: remove use of variadic error macroPatrick Steinhardt2019-08-011-3/+12
* fileops: rename to "futils.h" to match function signaturesPatrick Steinhardt2019-07-201-1/+1
* patch_parse: ensure valid patch output with EOFNLErik Aigner2019-07-111-1/+8
* apply: refactor to use a switch statementPatrick Steinhardt2019-07-111-10/+14
* blob: add underscore to `from` functionsEdward Thomson2019-06-161-1/+1
* apply: add an options struct initializerethomson/opts_initEdward Thomson2019-06-141-0/+7
* Merge pull request #4901 from pks-t/pks/uniform-map-apiEdward Thomson2019-02-221-5/+3
|\
| * maps: use high-level function to check existence of keysPatrick Steinhardt2019-02-151-3/+1
| * strmap: introduce high-level setter for key/value pairsPatrick Steinhardt2019-02-151-1/+1
| * maps: use uniform lifecycle management functionsPatrick Steinhardt2019-02-151-1/+1
* | apply: prevent OOB read when parsing source bufferErik Aigner2019-02-211-1/+1
|/
* apply: make update_hunk accept a size_tEdward Thomson2019-01-251-1/+1
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-5/+5
* Fix Linux warningslhchavez2019-01-081-1/+1
* Merge pull request #4847 from noahp/noahp/null-arg-fixesEdward Thomson2018-11-181-1/+2
|\
| * tests: address two null argument instancesNoah Pendleton2018-11-131-1/+2
* | apply: test re-adding a file after removing itEdward Thomson2018-11-051-10/+13
* | apply: test modifying a file after renaming itEdward Thomson2018-11-051-12/+53
* | apply: handle multiple deltas to the same fileEdward Thomson2018-11-051-7/+32
* | apply: handle exact renamesEdward Thomson2018-11-051-2/+7
* | apply: introduce a hunk callbackEdward Thomson2018-11-051-7/+41
* | apply: introduce a delta callbackEdward Thomson2018-11-051-3/+15
* | apply: move location to an argument, not the optsEdward Thomson2018-11-051-10/+16
* | apply: use an indexwriterEdward Thomson2018-11-051-3/+15
* | apply: validate workdir contents match index for BOTHEdward Thomson2018-11-051-17/+23
* | reader: optionally validate index matches workdirEdward Thomson2018-11-051-1/+1
* | apply: use preimage as the checkout baselineEdward Thomson2018-11-051-28/+57
* | apply: convert checkout conflicts to apply failuresEdward Thomson2018-11-051-0/+7
* | apply: when preimage file is missing, return EAPPLYFAILEdward Thomson2018-11-051-1/+7
* | apply: simplify checkout vs index applicationEdward Thomson2018-11-051-77/+126
* | apply: remove deleted paths from indexEdward Thomson2018-11-041-0/+19
* | apply: return a specific exit code on failureEdward Thomson2018-11-041-1/+1
* | apply: handle file additionsEdward Thomson2018-11-041-3/+7
* | apply: handle file deletionsEdward Thomson2018-11-041-0/+3
* | apply: introduce `git_apply`Edward Thomson2018-11-041-0/+110
* | apply: reimplement `git_apply_tree` with readersEdward Thomson2018-11-041-16/+21
* | apply: introduce `git_apply_tree`Edward Thomson2018-11-031-0/+100
|/
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-4/+4
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-1/+2
* giterr_set: consistent error messagesEdward Thomson2016-12-291-2/+2
* common: use PRIuZ for size_t in `giterr_set` callsPatrick Steinhardt2016-11-141-1/+1