Skip to content

Commit

Permalink
Merge pull request libgit2#700 from cholin/revwalk_reset
Browse files Browse the repository at this point in the history
really reset walker with git_revwalk_reset
  • Loading branch information
vmg committed May 16, 2012
2 parents c261c27 + 0b86fdf commit 9bd5a99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/revwalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,5 +838,8 @@ void git_revwalk_reset(git_revwalk *walk)
commit_list_free(&walk->iterator_rand);
commit_list_free(&walk->iterator_reverse);
walk->walking = 0;

walk->one = NULL;
git_vector_clear(&walk->twos);
}

0 comments on commit 9bd5a99

Please sign in to comment.