diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-02 13:39:35 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-04 15:26:41 +0200 |
| commit | 0b33fca03e030c7e807f0c75d7332e7fe2d3c0bc (patch) | |
| tree | c45fa36c4bd8e1fa96768febb18f4b5bc861ee7a /tests-clar/pack/packbuilder.c | |
| parent | 51e82492ef5206767e176952733914275d0e3bdc (diff) | |
| download | libgit2-0b33fca03e030c7e807f0c75d7332e7fe2d3c0bc.tar.gz | |
indexer: fix thin packs
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.
Diffstat (limited to 'tests-clar/pack/packbuilder.c')
| -rw-r--r-- | tests-clar/pack/packbuilder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/pack/packbuilder.c b/tests-clar/pack/packbuilder.c index 764fba213..69292567e 100644 --- a/tests-clar/pack/packbuilder.c +++ b/tests-clar/pack/packbuilder.c @@ -92,7 +92,7 @@ void test_pack_packbuilder__create_pack(void) seed_packbuilder(); - cl_git_pass(git_indexer_stream_new(&_indexer, ".", NULL, NULL)); + cl_git_pass(git_indexer_stream_new(&_indexer, ".", NULL, NULL, NULL)); cl_git_pass(git_packbuilder_foreach(_packbuilder, feed_indexer, &stats)); cl_git_pass(git_indexer_stream_finalize(_indexer, &stats)); @@ -141,7 +141,7 @@ void test_pack_packbuilder__foreach(void) git_indexer_stream *idx; seed_packbuilder(); - cl_git_pass(git_indexer_stream_new(&idx, ".", NULL, NULL)); + cl_git_pass(git_indexer_stream_new(&idx, ".", NULL, NULL, NULL)); cl_git_pass(git_packbuilder_foreach(_packbuilder, foreach_cb, idx)); cl_git_pass(git_indexer_stream_finalize(idx, &stats)); git_indexer_stream_free(idx); |
