summaryrefslogtreecommitdiff
path: root/tests/revwalk/basic.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix warningsvmg/crudVicent Marti2015-10-211-1/+2
|
* revwalk: make commit list use 64 bits for timecmn/quick-parse-64Carlos Martín Nieto2015-10-141-0/+35
| | | | | | | | We moved the "main" parsing to use 64 bits for the timestamp, but the quick parsing for the revwalk did not. This means that for large timestamps we fail to parse the time and thus the walk. Move this parser to use 64 bits as well.
* revwalk: add failing test for hiding and then pushing a commitCarlos Martín Nieto2015-04-081-0/+17
| | | | | When we hide a commit which we later push into the revwalk, we do not handle this well and return commits which we should not.
* tests: update for new test dataEdward Thomson2015-02-021-1/+1
|
* Factor 40 and 41 constants from source.Ciro Santilli2014-09-161-4/+4
|
* No need to find merge base.Anurag Gupta2014-03-311-4/+75
|
* Fix pqueue sort boundary condition bugRussell Belfer2014-03-121-0/+59
| | | | | | If the pqueue comparison fn returned just 0 or 1 (think "a<b") then the sort order of returned items could be wrong because there was a "< 0" that really needed to be "<= 0". Yikes!!!
* revwalk: add a test for pushing all referencesCarlos Martín Nieto2014-02-051-0/+19
| | | | This used to be broken, let's make sure we don't break this use-case.
* revwalk: ignore wrong object type in glob pushesCarlos Martín Nieto2014-02-051-1/+10
| | | | | Pushing a whole namespace can cause us to attempt to push non-committish objects. Catch this situation and special-case it for ignoring this.
* revwalk: add a failing test for pushing "tags"Carlos Martín Nieto2014-02-051-0/+10
| | | | This shows that pusing a whole namespace can be problematic.
* Rename tests-clar to testsBen Straub2013-11-141-0/+254