summaryrefslogtreecommitdiff
path: root/tests/revwalk/hidecb.c
Commit message (Collapse)AuthorAgeFilesLines
* revwalk: Allow changing hide_cbEivind Fonn2018-11-281-2/+29
| | | | | Since git_revwalk objects are encouraged to be reused, a public interface for changing hide_cb is desirable.
* revwalk: port over the topological sortingCarlos Martín Nieto2016-10-061-2/+2
| | | | | | | | | 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`.
* revwalk: get closer to gitCarlos Martín Nieto2016-10-061-0/+2
| | | | | | | | | | | | We had some home-grown logic to figure out which objects to show during the revision walk, but it was rather inefficient, looking over the same list multiple times to figure out when we had run out of interesting commits. We now use the lists in a smarter way. We also introduce the slop mechanism to determine when to stpo looking. When we run out of interesting objects, we continue preparing the walk for another 5 rounds in order to make it less likely that we miss objects in situations with complex graphs.
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-11/+5
|
* Decorate unused params as unused in revwalk::hidecb testsEdward Thomson2014-03-261-0/+9
|
* Modified test for revwalk_hidecbAnurag Gupta2014-03-241-2/+2
|
* Conforming to libgit2 coding style.Anurag Gupta2014-03-241-3/+2
|
* Unit Tests for hide_cb in revwalkAnurag Gupta2014-03-241-0/+199