summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2013-11-04 15:46:32 -0600
committerEdward Thomson <ethomson@microsoft.com>2013-11-04 22:32:50 -0500
commitf966acd13366d21e0b9beeecf021c0114596c716 (patch)
tree3564477bae4877f3accd9eb0963df9769369b3fe /include
parent0e1115d2872fcb8f13fd28a52f1f14d52792623e (diff)
downloadlibgit2-f966acd13366d21e0b9beeecf021c0114596c716.tar.gz
Take umask into account in filebuf_commit
Diffstat (limited to 'include')
-rw-r--r--include/git2/odb_backend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/odb_backend.h b/include/git2/odb_backend.h
index d3dd733a8..4d772cab9 100644
--- a/include/git2/odb_backend.h
+++ b/include/git2/odb_backend.h
@@ -50,8 +50,8 @@ GIT_EXTERN(int) git_odb_backend_loose(
const char *objects_dir,
int compression_level,
int do_fsync,
- mode_t dir_mode,
- mode_t file_mode);
+ unsigned int dir_mode,
+ unsigned int file_mode);
/**
* Create a backend out of a single packfile