summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2013-11-05 04:48:45 -0800
committerEdward Thomson <ethomson@edwardthomson.com>2013-11-05 04:48:45 -0800
commit3ae66ef1af2af9132c96c57bf5c6e2cfdb1f617c (patch)
tree8615cf3c6a3cbfe454d108896b3b6b7d3904d531 /include/git2
parentb47949254ee5b7e5801fd3d1d80136bff5db938a (diff)
parent1d3a8aeb4bd032d0bf34039fbcb308fba06b862a (diff)
downloadlibgit2-3ae66ef1af2af9132c96c57bf5c6e2cfdb1f617c.tar.gz
Merge pull request #1940 from ethomson/filebuf_umask
Take umask into account in filebuf_commit
Diffstat (limited to 'include/git2')
-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