summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-09-29 15:34:17 +0200
committerVicent Marti <tanoku@gmail.com>2011-09-29 15:34:17 +0200
commit8af4d074cc3bcc8ea63d75f147be892e4925075b (patch)
tree196374627959e6a39ab3effff0ebac4664b64401 /src/odb.c
parent72bdfdbc7cb868b222127d1592d35a19e47ceb05 (diff)
downloadlibgit2-8af4d074cc3bcc8ea63d75f147be892e4925075b.tar.gz
odb: Let users decide compression level for the loose ODB
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;