Commit ad62f2ee by Edward Thomson

update example to new packfile creation signature

parent 7be89211
...@@ -46,7 +46,7 @@ int index_pack(git_repository *repo, int argc, char **argv) ...@@ -46,7 +46,7 @@ int index_pack(git_repository *repo, int argc, char **argv)
return EXIT_FAILURE; 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"); puts("bad idx");
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment