Skip to content

Conversation

@VladyslavBondarenko
Copy link

The getSourceCommit method takes 0 based line number as
an argument, but in OpenSZZ, a line number extracted from git diff result is passed
as an argument. It is incorrect because in git diff output line numbers start with 1.
Without a fix, for each line of a bug-fixing commit, OpenSZZ finds a commit that
made the last change in the next line instead of a commit that made the last change
in the current line.

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.

1 participant