From ad62f2eedc110bda0b66a9f1d39f06df99a2f020 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 7 Nov 2013 12:00:43 -0600 Subject: [PATCH] update example to new packfile creation signature --- examples/network/index-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }