diff options
author | Vicent Martà <vicent@github.com> | 2013-11-07 09:22:01 -0800 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-11-07 09:22:01 -0800 |
commit | 7be892114c7799619abb7892def014cedb623e78 (patch) | |
tree | a01d41a27e19926ea18db1b6976b6455e423ac5a /src/odb_pack.c | |
parent | 9018a453ea801a965795af6c8f8523a49f4d167b (diff) | |
parent | 1e60e5f42dbcf081ac7eece12a5eebab5871636f (diff) | |
download | libgit2-7be892114c7799619abb7892def014cedb623e78.tar.gz |
Merge pull request #1952 from ethomson/packfile_mode
Allow callers to set mode on packfile creation
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r-- | src/odb_pack.c | 2 |
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; } |