summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-11-04 14:50:25 -0500
committerEdward Thomson <ethomson@microsoft.com>2013-11-04 14:50:25 -0500
commitdd64c71c2685d0b72b6f58149ecf2a972a6ea98b (patch)
treeb94556b25f9d8ac17494bcff2bbc46de20704b37 /src/odb.c
parentbecb13c0f04c4ba54cf27303136293dbf8abfd73 (diff)
downloadlibgit2-dd64c71c2685d0b72b6f58149ecf2a972a6ea98b.tar.gz
Allow backend consumers to specify file 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 2d6eda881..b208b279e 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -492,7 +492,7 @@ static int add_default_backends(
#endif
/* add the loose object backend */
- if (git_odb_backend_loose(&loose, objects_dir, -1, 0) < 0 ||
+ if (git_odb_backend_loose(&loose, objects_dir, -1, 0, 0, 0) < 0 ||
add_backend_internal(db, loose, GIT_LOOSE_PRIORITY, as_alternates, inode) < 0)
return -1;