mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 03:15:46 +00:00
revwalk: clear first-parent flag on reset
This should have been included when implementing the feature but was missed.
This commit is contained in:
parent
9b5d6cea4a
commit
d6afda62d9
@ -621,6 +621,7 @@ void git_revwalk_reset(git_revwalk *walk)
|
|||||||
git_commit_list_free(&walk->iterator_rand);
|
git_commit_list_free(&walk->iterator_rand);
|
||||||
git_commit_list_free(&walk->iterator_reverse);
|
git_commit_list_free(&walk->iterator_reverse);
|
||||||
git_commit_list_free(&walk->user_input);
|
git_commit_list_free(&walk->user_input);
|
||||||
|
walk->first_parent = 0;
|
||||||
walk->walking = 0;
|
walk->walking = 0;
|
||||||
walk->did_push = walk->did_hide = 0;
|
walk->did_push = walk->did_hide = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user