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

Implement faster file history walk #1676

Merged
merged 4 commits into from
May 20, 2019

Conversation

ianhattendorf
Copy link
Member

No description provided.

Copy link
Member

@implausible implausible left a comment

Choose a reason for hiding this comment

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

We also never free baton->file_path anywhere

if (!flag && nextCommit != NULL) {
git_commit_free(nextCommit);
if (firstMatchingParentIndex.first) {
git_commit_free(parentCommit);
Copy link
Member

@implausible implausible May 20, 2019

Choose a reason for hiding this comment

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

These need to be freed at the same time we delete fileHistoryEvent or else we're leaking memory on non-matching merge commits

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.

None yet

2 participants