Michael Schubert
be225be785
tests/pack: fixup 6774b10
...
Initialize the hash ctx with git_hash_ctx_init, not git_hash_init.
2013-02-25 23:36:25 +01:00
Michael Schubert
6774b1071f
tests/pack: do strict check of testpack's SHA1 hash
2013-02-25 22:22:15 +01:00
Vicent Marti
7b51d675e8
Even more cleanups
2013-01-03 19:17:07 +01:00
Ben Straub
600d8dbf6d
Move test cleanup into cleanup functions
2013-01-03 09:10:38 -08:00
Ben Straub
bffbeebbec
Cleanup after tests
2013-01-03 08:38:00 -08:00
Vicent Marti
cfbe4be3fb
More external API cleanup
...
Conflicts:
src/branch.c
tests-clar/refs/branches/create.c
2012-11-27 13:18:27 -08:00
Sascha Cunz
9094d30b93
Reset all static variables to NULL in clar's __cleanup
...
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
2012-11-23 11:41:56 +01:00
Carlos Martín Nieto
3dfed9cb86
packbuilder: add git_packbuilder_foreach
...
Let the user get each object as a buffer+size pair so they can handle
the packfile content as they need to.
2012-11-01 06:21:49 +01:00
Ben Straub
7d222e1312
Network progress: rename things
...
git_indexer_stats and friends -> git_transfer_progress*
Also made git_transfer_progress members more sanely
named.
2012-10-24 13:29:14 -07:00
Michael Schubert
0a32dca5ec
gsoc-pack-objects WIP
2012-10-09 21:28:31 +02:00