]> git.proxmox.com Git - libgit2.git/commit
revwalk: port over the topological sorting
authorCarlos Martín Nieto <cmn@dwim.me>
Tue, 27 Sep 2016 09:59:24 +0000 (11:59 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Thu, 6 Oct 2016 09:04:55 +0000 (11:04 +0200)
commit48c64362e43f5a11aeca6a6dd2950107d6c8adce
tree14fd9836023733682edbff172b2c705ec336ae39
parent938f8e32ec3fa467454ac44c01b916d17e5731af
revwalk: port over the topological sorting

After porting over the commit hiding and selection we were still left
with mistmaching output due to the topologial sort.

This ports the topological sorting code to make us match with our
equivalent of `--date-order` and `--topo-order` against the output
from `rev-list`.
src/revwalk.c
tests/revwalk/hidecb.c