Made revwalk push synchronous, fix segfault