summaryrefslogtreecommitdiff
path: root/tests-clar/pack/packbuilder.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-204/+0
|
* Allow callers to set mode on packfile creationEdward Thomson2013-11-071-3/+47
|
* Add git_packbuilder_hash to query pack filenameEdward Thomson2013-11-071-0/+12
|
* indexer: remove the stream infixCarlos Martín Nieto2013-10-301-12/+12
| | | | | | | | | | | 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: fix thin packsCarlos Martín Nieto2013-10-041-2/+2
| | | | | | 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: 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