summaryrefslogtreecommitdiff
path: root/tests-clar/pack
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-142-330/+0
|
* Allow callers to set mode on packfile creationEdward Thomson2013-11-072-6/+50
|
* Add git_packbuilder_hash to query pack filenameEdward Thomson2013-11-071-0/+12
|
* Merge pull request #1933 from libgit2/vmg/gcc-warningsRussell Belfer2013-11-011-2/+0
|\ | | | | Warnings for Windows x64 (MSVC) and GCC on Linux
| * clar: Fix warnings in GCC/Linuxvmg/gcc-warningsVicent Marti2013-11-011-2/+0
| |
* | indexer: remove the stream infixCarlos Martín Nieto2013-10-302-27/+27
|/ | | | | | | | | | | It was there to keep it apart from the one which read in from a file on disk. This other indexer does not exist anymore, so there is no need for anything other than git_indexer to refer to it. While here, rename _add() function to _append() and _finalize() to _commit(). The former change is cosmetic, while the latter avoids talking about "finalizing", which OO languages use to mean something completely different.
* indexer: clearer stats for thin packsCarlos Martín Nieto2013-10-111-1/+1
| | | | | | | Don't increase the number of total objects, as it can produce suprising progress output. The only addition compared to pre-thin is the addition of local_objects to allow an output similar to git's "completed with %d local objects".
* indexer: fix thin packsCarlos Martín Nieto2013-10-042-2/+90
| | | | | | When given an ODB from which to read objects, the indexer will attempt to inject the missing bases at the end of the pack and update the header and trailer to reflect the new contents.
* indexer: do multiple passes over the delta listCarlos Martín Nieto2013-10-041-0/+40
| | | | | | | | | Though unusual, a packfile may contain a delta whose base is a delta that comes later. In order index such a packfile, we must not give up on the first failure to resolve a delta, but keep it around. If there is a pass which makes no progress, this indicates that the packfile is broken, so fail accordingly.
* indexer: kill git_indexerCarlos Martín Nieto2013-03-031-8/+18
| | | | | | | This was the first implementation and its goal was simply to have something that worked. It is slow and now it's just taking up space. Remove it and switch the one known usage to use the streaming indexer.
* tests/pack: fixup 6774b10Michael Schubert2013-02-251-1/+2
| | | | Initialize the hash ctx with git_hash_ctx_init, not git_hash_init.
* tests/pack: do strict check of testpack's SHA1 hashMichael Schubert2013-02-251-0/+32
|
* Even more cleanupsVicent Marti2013-01-031-34/+2
|
* Move test cleanup into cleanup functionsBen Straub2013-01-031-20/+29
|
* Cleanup after testsBen Straub2013-01-031-0/+22
|
* More external API cleanupVicent Marti2012-11-271-1/+1
| | | | | | Conflicts: src/branch.c tests-clar/refs/branches/create.c
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-231-3/+15
| | | | | | | | | | | | Without this change, any failed assertion in the second (or a later) test inside a test suite has a chance of double deleting memory, resulting in a heap corruption. See #1096 for details. This leaves alone the test cases where we "just" use cl_git_sandbox_init() and cl_git_sandbox_cleanup(). These methods already take good care to not double delete a repository. Fixes #1096
* packbuilder: add git_packbuilder_foreachCarlos Martín Nieto2012-11-011-2/+29
| | | | | Let the user get each object as a buffer+size pair so they can handle the packfile content as they need to.
* Network progress: rename thingsBen Straub2012-10-241-1/+1
| | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
* gsoc-pack-objects WIPMichael Schubert2012-10-091-0/+67