summaryrefslogtreecommitdiff
path: root/src/diff.c
Commit message (Expand)AuthorAgeFilesLines
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-171-6/+23
* hash: hash functions operate on byte arrays not git_oidsEdward Thomson2021-10-021-1/+1
* hash: accept the algorithm in inputsEdward Thomson2021-10-011-1/+1
* diff: deprecate diff_format_emailethomson/emailEdward Thomson2021-09-181-23/+23
* diff: use `git_email_create` in `diff_format_email`Edward Thomson2021-09-181-142/+7
* diff_commit_as_email: use `email_create`Edward Thomson2021-09-181-10/+13
* diff: use GIT_ASSERTEdward Thomson2020-11-271-8/+11
* tree-wide: do not compile deprecated functions with hard deprecationPatrick Steinhardt2020-06-091-0/+6
* tree-wide: mark local functions as staticPatrick Steinhardt2020-06-091-6/+6
* tree-wide: remove unused functionsPatrick Steinhardt2020-06-081-5/+0
* diff: make patchid computation work with all types of commits.Gregory Herrero2019-11-281-61/+21
* Don't use enum for flagsSven Strickroth2019-09-261-1/+1
* diff: ignore EOFNL for computing patch IDsPatrick Steinhardt2019-07-111-2/+10
* Rename opt init functions to `options_init`Edward Thomson2019-06-141-4/+21
* diff: explicitly cast in flush_hunkEdward Thomson2019-01-251-1/+1
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-9/+9
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-2/+2
* diff: remove unused macros `DIFF_FLAG_*`Patrick Steinhardt2017-11-301-7/+0
* diff: cleanup hash ctx in `git_diff_patchid`Patrick Steinhardt2017-09-151-0/+1
* Merge pull request #4288 from pks-t/pks/include-fixupsEdward Thomson2017-08-151-2/+3
|\
| * Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+3
* | diff: implement function to calculate patch IDPatrick Steinhardt2017-06-261-0/+144
|/
* patch_generate: move `git_diff_foreach` to diff.cPatrick Steinhardt2017-03-141-0/+35
* introduce `git_diff_from_buffer` to parse diffsEdward Thomson2016-05-261-2/+2
* git_diff_generated: abstract generated diffsEdward Thomson2016-05-261-1549/+30
* diff: include oid length in deltasEdward Thomson2016-05-261-0/+4
* diff: simplify code for handling empty dirsPatrick Steinhardt2016-05-031-10/+6
* iterator: cleanupsEdward Thomson2016-03-241-3/+2
* diff: stop processing nitem when its removedEdward Thomson2016-03-231-1/+1
* iterator: combine fs+workdir iterators more completelyEdward Thomson2016-03-231-7/+5
* Horrible fix for #3173.Arthur Schreiber2016-02-111-4/+4
* diff: include commit message when formatting patchPatrick Steinhardt2015-12-011-1/+10
* checkout: only consider nsecs when built that wayEdward Thomson2015-11-231-46/+3
* Merge pull request #3170 from CmdrMoozy/nsec_fixCarlos Martín Nieto2015-11-121-3/+32
|\
| * diff: refactor complex timestamp check into its own functionAxel Rasmussen2015-10-011-5/+27
| * diff/index: respect USE_NSEC for racily clean file detectionAxel Rasmussen2015-09-181-2/+5
| * cmake: add USE_NSEC, and only check nanosec m/ctime if enabledAxel Rasmussen2015-09-181-0/+4
* | Add diff progress callback.Jason Haslam2015-11-021-2/+13
* | pool: Simplify implementationVicent Marti2015-10-281-2/+3
* | diff: ignore nsecs when diffingEdward Thomson2015-10-221-1/+3
|/
* diff: check pathspec on non-filesEdward Thomson2015-09-121-8/+17
* diff: use new iterator pathlist handlingEdward Thomson2015-08-301-14/+14
* Move filelist into the iterator handling itself.Edward Thomson2015-08-281-12/+34
* iterator: use an options struct instead of argsEdward Thomson2015-08-281-19/+25
* Added git_diff_index_to_index()Pierre-Olivier Latour2015-06-301-0/+25
* Only write index if updated when passing GIT_DIFF_UPDATE_INDEXPierre-Olivier Latour2015-06-261-2/+4
* Merge pull request #3222 from git-up/conflictedEdward Thomson2015-06-231-2/+4
|\
| * Fixed GIT_DELTA_CONFLICTED not returned in some casesPierre-Olivier Latour2015-06-231-2/+4
* | diff: check files with the same or newer timestampsCarlos Martín Nieto2015-06-221-3/+4
|/
* diff: preserve original mode in the indexEdward Thomson2015-06-201-10/+14