diff options
author | Edward Thomson <ethomson@microsoft.com> | 2013-11-04 18:28:57 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2013-11-04 22:33:05 -0500 |
commit | 1d3a8aeb4bd032d0bf34039fbcb308fba06b862a (patch) | |
tree | 8e9165cfd8c4c3919abd2d4f301b1f45e281d5eb /src/blob.c | |
parent | f966acd13366d21e0b9beeecf021c0114596c716 (diff) | |
download | libgit2-1d3a8aeb4bd032d0bf34039fbcb308fba06b862a.tar.gz |
move mode_t to filebuf_open instead of _commit
Diffstat (limited to 'src/blob.c')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.c b/src/blob.c index e18db4dfc..2c6d52800 100644 --- a/src/blob.c +++ b/src/blob.c @@ -284,7 +284,7 @@ int git_blob_create_fromchunks( content = git__malloc(BUFFER_SIZE); GITERR_CHECK_ALLOC(content); - if (git_filebuf_open(&file, git_buf_cstr(&path), GIT_FILEBUF_TEMPORARY) < 0) + if (git_filebuf_open(&file, git_buf_cstr(&path), GIT_FILEBUF_TEMPORARY, 0666) < 0) goto cleanup; while (1) { |