summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb.c b/src/odb.c
index 02809beec..60789cf70 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -321,7 +321,7 @@ static int add_default_backends(git_odb *db, const char *objects_dir, int as_alt
int error;
/* add the loose object backend */
- error = git_odb_backend_loose(&loose, objects_dir);
+ error = git_odb_backend_loose(&loose, objects_dir, -1, 0);
if (error < GIT_SUCCESS)
return error;