hercules
hercules copied to clipboard
Failuer to count couples when both of files have been renamed
Hercules double counts the number of couples when both of coupled files is renamed.
When the commit log is given as follows: Commit1: A FileA A FileB Commit2: M FileA M FileB Commit3: R FileA -> FileA' R FileB -> FileB' Commit4: M FileA' M FileB'
the true number of couple of FileA' and FileB' is 4. However, Hercules counts the co-occurrence in Commit1 and Commit2, so it outputs 6.
Thanks! I'll fix this. The project has gone a bit unmaintained recently, but I am planning to resurrect the development :+1: