summaryrefslogtreecommitdiff
path: root/examples/showindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/showindex.c')
-rw-r--r--examples/showindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/showindex.c b/examples/showindex.c
index bf852384c..f4c92f068 100644
--- a/examples/showindex.c
+++ b/examples/showindex.c
@@ -33,7 +33,7 @@ int main (int argc, char** argv)
git_repository_free(repo);
}
- git_index_read(index);
+ git_index_read(index, 0);
ecount = git_index_entrycount(index);
if (!ecount)