Merge pull request #2184 from libgit2/rb/fix-revwalk-order-regression Fix pqueue sort boundary condition bug