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

Bugfix/Renaming Conflicts Statistics #168

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

leonardoAnjos16
Copy link
Collaborator

The tool wasn't counting the number of renaming conflicts properly, making it report, in some occasions, that the number of renaming conflicts was greater than the number of total conflicts. This PR fixes it by maintaining the number of renaming conflicts up to date during the execution of the renaming handler.

Copy link
Owner

@guilhermejccavalcanti guilhermejccavalcanti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leonardoAnjos16 tu poderia adicionar algum caso de teste (pode até ser uma versão simplificado do exemplo que tem na issue https://github.com/guilhermejccavalcanti/jFSTMerge/files/7747674/files.zip )? Um teste onde a contagem estaria errada antes desse PR, e que agora estará correta?

@leonardoAnjos16
Copy link
Collaborator Author

@leonardoAnjos16 tu poderia adicionar algum caso de teste (pode até ser uma versão simplificado do exemplo que tem na issue https://github.com/guilhermejccavalcanti/jFSTMerge/files/7747674/files.zip )? Um teste onde a contagem estaria errada antes desse PR, e que agora estará correta?

@guilhermejccavalcanti posso sim, vou fazer isso!

@leonardoAnjos16
Copy link
Collaborator Author

@guilhermejccavalcanti, não consegui simplificar o caso da issue por ser bastante complexo e grande. Mas fabriquei um caso em que a ferramenta antes das alterações reportava 2 conflitos de renaming (mesmo o resultado do merge tendo apenas 1 conflito), enquanto a nova versão reporta corretamente 1 conflito de renaming.

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

Successfully merging this pull request may close these issues.

2 participants