summaryrefslogtreecommitdiff
path: root/tests/patch/parse.c
diff options
context:
space:
mode:
authorGregory Herrero <gregory.herrero@oracle.com>2019-11-07 14:10:00 +0100
committerGregory Herrero <gregory.herrero@oracle.com>2019-11-28 14:17:50 +0100
commitece5bb5e7d6e35e50096bac3d7bf17342daaec77 (patch)
tree27f42b0b9f8fd8ac067bbfb2b780f4e72d3bae9a /tests/patch/parse.c
parent048e94adbba3c21b9ad739640cce11a8b387df48 (diff)
downloadlibgit2-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 'tests/patch/parse.c')
0 files changed, 0 insertions, 0 deletions