diff options
| author | Gregory Herrero <gregory.herrero@oracle.com> | 2019-11-07 14:10:00 +0100 |
|---|---|---|
| committer | Gregory Herrero <gregory.herrero@oracle.com> | 2019-11-28 14:17:50 +0100 |
| commit | ece5bb5e7d6e35e50096bac3d7bf17342daaec77 (patch) | |
| tree | 27f42b0b9f8fd8ac067bbfb2b780f4e72d3bae9a /include/git2/diff.h | |
| parent | 048e94adbba3c21b9ad739640cce11a8b387df48 (diff) | |
| download | libgit2-ece5bb5e7d6e35e50096bac3d7bf17342daaec77.tar.gz | |
diff: make patchid computation work with all types of commits.
Current implementation of patchid is not computing a correct patchid
when given a patch where, for example, a new file is added or removed.
Some more corner cases need to be handled to have same behavior as git
patch-id command.
Add some more tests to cover those corner cases.
Signed-off-by: Gregory Herrero <gregory.herrero@oracle.com>
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions
