Commit ece5bb5e7d6e35e50096bac3d7bf17342daaec77

Gregory Herrero 2019-11-07T14:10:00

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>