summaryrefslogtreecommitdiff
path: root/tests/revwalk
Commit message (Collapse)AuthorAgeFilesLines
* merge: Fix memory leak in testvmg/redundantVicent Marti2015-11-021-0/+1
|
* Add test caseVicent Marti2015-11-021-0/+19
|
* tests: Fix warningsvmg/crudVicent Marti2015-10-211-1/+2
|
* signature: Strip crud just like Git doesVicent Marti2015-10-211-1/+1
|
* 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
|
* revwalk::mergebase test: free memoryEdward Thomson2014-10-261-0/+1
|
* Add git_merge_bases_many.Arthur Schreiber2014-10-091-2/+22
|
* Factor 40 and 41 constants from source.Ciro Santilli2014-09-161-4/+4
|
* Merge pull request #2481 from libgit2/cmn/oidarrayVicent Marti2014-08-291-0/+18
|\ | | | | merge: expose multiple merge bases
| * merge: expose multiple merge basescmn/oidarrayCarlos Martín Nieto2014-07-271-0/+18
| | | | | | | | | | | | | | | | We always calculate multiple merge bases, but up to now we had only exposed the "best" merge base. Introduce git_oidarray which analogously to git_strarray lets us return multiple ids.
* | Fix ahead-behind testsCarlos Martín Nieto2014-08-281-18/+18
|/ | | | | The logic was reversed. I have checked manually each pair with git and adjusted the expectation to what git status prints.
* revwalk::simplify test should testEdward Thomson2014-07-011-3/+3
| | | | | | The revwalk::simplify test was not actually tested the values from the revwalk against the expected. (Further, the expected had two IDs transposed.)
* Introduce cl_assert_equal_oidEdward Thomson2014-07-012-18/+12
|
* No need to find merge base.Anurag Gupta2014-03-311-4/+75
|
* 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
|
* Implement git_merge_base_octopusAimeast2014-03-181-1/+64
|
* 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-144-0/+748