summaryrefslogtreecommitdiff
path: root/tests/index
Commit message (Collapse)AuthorAgeFilesLines
* Introduce cl_assert_equal_oidEdward Thomson2014-07-016-53/+53
|
* Plug a leak in the testsCarlos Martín Nieto2014-06-031-0/+2
|
* index: check for valid filemodes on addcmn/index-add-modesCarlos Martín Nieto2014-05-221-0/+15
|
* Make core.safecrlf work on LF-ending platformsRussell Belfer2014-05-191-0/+18
| | | | | | If you enabled core.safecrlf on an LF-ending platform, we would error even for files with all LFs. We should only be warning on irreversible mappings, I think.
* Some vector utility tweaksRussell Belfer2014-04-171-17/+3
| | | | | This is just laying some groundwork for internal index changes that I'm working on.
* git_checkout_opts -> git_checkout_optionsBen Straub2014-03-062-6/+6
|
* Staticize file-local variablesBen Straub2014-02-241-1/+1
|
* Tests for crlf filtering into the repositoryEdward Thomson2014-02-091-0/+136
|
* Merge pull request #2099 from libgit2/bs/more-reflog-stuffRussell Belfer2014-02-072-11/+11
|\ | | | | More reflogness
| * Add reflog parameters to git_resetBen Straub2014-02-032-6/+6
| |
| * Reset helpers: use revparse insteadBen Straub2014-02-032-5/+5
| |
* | Fix typo setting sorted flag when reloading indexRussell Belfer2014-02-041-0/+34
| | | | | | | | | | | | | | This fixes a typo I made for setting the sorted flag on the index after a reload. That typo didn't actually cause any test failures so I'm also adding a test that explicitly checks that the index is correctly sorted after a reload when ignoring case and when not.
* | Convert pqueue to just be a git_vectorRussell Belfer2014-02-041-4/+4
|/ | | | | | | | | | | | | This updates the git_pqueue to simply be a set of specialized init/insert/pop functions on a git_vector. To preserve the pqueue feature of having a fixed size heap, I converted the "sorted" field in git_vectors to a more general "flags" field so that pqueue could mix in it's own flag. This had a bunch of ramifications because a number of places were directly looking at the vector "sorted" field - I added a couple new git_vector helpers (is_sorted, set_sorted) so the specific representation of this information could be abstracted.
* More index collision testsEdward Thomson2014-01-291-0/+64
|
* Add test for blob/tree name collisions in indexRussell Belfer2014-01-291-0/+42
|
* index: rename an entry's id to 'id'Carlos Martín Nieto2014-01-253-26/+26
| | | | This was not converted when we converted the rest, so do it now.
* More improvements to callback return value testsRussell Belfer2013-12-111-30/+128
| | | | | | This time actually checking return values in diff notify tests and actually testing callbacks for the index all-all/update-all/etc functions.
* tests: Drop unrelated commentnulltoken2013-11-191-1/+0
|
* tree-cache: Don't segfault upon corruptionnulltoken2013-11-191-0/+9
|
* Rename tests-clar to testsBen Straub2013-11-1410-0/+1936