]> git.proxmox.com Git - libgit2.git/commit - src/revwalk.c
really reset walker with git_revwalk_reset
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>
Tue, 15 May 2012 15:03:07 +0000 (17:03 +0200)
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>
Tue, 15 May 2012 15:09:34 +0000 (17:09 +0200)
commit0b86fdf96e562d799ae8b1f73b7e128d0a00c3ee
tree6ab0eee7f47dc6a0d1849a1a06fda62301d31cd1
parentb72969e0643cb561b42aceec4d1a18ce9c782c09
really reset walker with git_revwalk_reset

From the description  of git_revwalk_reset in revwalk.h the function should
clear all pushed and hidden commits, and leave the walker in a blank state (just like at creation).
Apparently everything gets reseted appart of pushed commits (walk->one and walk->twos)

This fix should reset the walker properly.
src/revwalk.c