Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-11-07 21:03:44 +0400
committerEdward Thomson <ethomson@microsoft.com>2013-11-07 21:04:32 +0400
commit1e60e5f42dbcf081ac7eece12a5eebab5871636f (patch)
treea01d41a27e19926ea18db1b6976b6455e423ac5a /src/odb_pack.c
parent9018a453ea801a965795af6c8f8523a49f4d167b (diff)
Allow callers to set mode on packfile creation
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 12f4591ec..fd2ca0fd8 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -558,7 +558,7 @@ static int pack_backend__writepack(struct git_odb_writepack **out,
GITERR_CHECK_ALLOC(writepack);
if (git_indexer_new(&writepack->indexer,
- backend->pack_folder, odb, progress_cb, progress_payload) < 0) {
+ backend->pack_folder, 0, odb, progress_cb, progress_payload) < 0) {
git__free(writepack);
return -1;
}