summaryrefslogtreecommitdiff
path: root/src/xdiff/xpatience.c
Commit message (Collapse)AuthorAgeFilesLines
* xdiff: catch memory allocation errorsPatrick Steinhardt2019-08-231-0/+3
| | | | | | | The xdiff code contains multiple call sites where the results of `xdl_malloc` are not being checked for memory allocation errors. Add checks to fix possible segfaults due to `NULL` pointer accesses.
* xdiff: upgrade to git's included xdiffEdward Thomson2018-01-211-9/+41
| | | | | | Upgrade xdiff to git's most recent version, which includes changes to CR/LF handling. Now CR/LF included in the input files will be detected and conflict markers will be emitted with CR/LF when appropriate.
* xdiff: upgrade to core git 2.4.5Edward Thomson2015-07-071-1/+1
| | | | | | | | | | | | | Upgrade xdiff to version used in core git 2.4.5 (0df0541). Corrects an issue where an LF is added at EOF while applying an unrelated change (ba31180), cleans up some unused code (be89977 and e5b0662), and provides an improved callback to avoid leaking internal (to xdiff) structures (467d348). This also adds some additional functionality that we do not yet take advantage of, namely the ability to ignore changes whose lines are all blank (36617af).
* Import xdiff library from gitRussell Belfer2012-03-021-0/+358
This is the initial import of the xdiff code (LGPL) from core git as of rev f349b562086e2b7595d8a977d2734ab2ef9e71ef