Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failuer to count couples when both of files have been renamed #367

Open
sirogane1013 opened this issue Oct 20, 2020 · 1 comment
Open

Failuer to count couples when both of files have been renamed #367

sirogane1013 opened this issue Oct 20, 2020 · 1 comment

Comments

@sirogane1013
Copy link

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.

@vmarkovtsev
Copy link
Collaborator

Thanks! I'll fix this. The project has gone a bit unmaintained recently, but I am planning to resurrect the development 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants