Commit 4cb3c7ab by Vicent Martí

Merge pull request #1953 from ethomson/packfile_example

update example to new packfile creation signature
parents 7be89211 ad62f2ee
......@@ -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;
}
......
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