mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-18 09:34:16 +00:00
update example to new packfile creation signature
This commit is contained in:
parent
7be892114c
commit
ad62f2eedc
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user