Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2013-11-07 22:00:43 +0400
committerEdward Thomson <ethomson@edwardthomson.com>2013-11-07 22:00:43 +0400
commitad62f2eedc110bda0b66a9f1d39f06df99a2f020 (patch)
treef4aae12aa912d58a0dadf2d3385b1f88bbd0901e /examples
parent7be892114c7799619abb7892def014cedb623e78 (diff)
update example to new packfile creation signature
Diffstat (limited to 'examples')
-rw-r--r--examples/network/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/index-pack.c b/examples/network/index-pack.c
index 59fff416a..314f21160 100644
--- a/examples/network/index-pack.c
+++ b/examples/network/index-pack.c
@@ -46,7 +46,7 @@ int index_pack(git_repository *repo, int argc, char **argv)
return EXIT_FAILURE;
}
- if (git_indexer_new(&idx, ".", NULL, NULL, NULL) < 0) {
+ if (git_indexer_new(&idx, ".", 0, NULL, NULL, NULL) < 0) {
puts("bad idx");
return -1;
}