diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-08 17:17:31 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-08 17:17:31 +0200 |
commit | d6afda62d94d7bb29d864cf1c86648839ef60b2d (patch) | |
tree | 478a6bbf10a1a7ce77704bd2b32c7de8fd0dc00b /src/revwalk.c | |
parent | 9b5d6cea4aba38a58233a93fde2d0ffd6945f171 (diff) | |
download | libgit2-d6afda62d94d7bb29d864cf1c86648839ef60b2d.tar.gz |
revwalk: clear first-parent flag on resetcmn/revwalk-merge-base
This should have been included when implementing the feature but was
missed.
Diffstat (limited to 'src/revwalk.c')
-rw-r--r-- | src/revwalk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/revwalk.c b/src/revwalk.c index 1bf9fbe5c..4dca7599a 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -621,6 +621,7 @@ void git_revwalk_reset(git_revwalk *walk) git_commit_list_free(&walk->iterator_rand); git_commit_list_free(&walk->iterator_reverse); git_commit_list_free(&walk->user_input); + walk->first_parent = 0; walk->walking = 0; walk->did_push = walk->did_hide = 0; } |