summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/checkout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h
index 6e0a05f7c..7a32cffa8 100644
--- a/include/git2/checkout.h
+++ b/include/git2/checkout.h
@@ -30,7 +30,8 @@ typedef struct git_checkout_opts {
int existing_file_action; /* default: GIT_CHECKOUT_OVERWRITE_EXISTING */
int disable_filters;
int dir_mode; /* default is 0755 */
- int file_open_mode; /* default is O_CREAT | O_TRUNC | O_WRONLY */
+ int file_mode; /* default is 0644 */
+ int file_open_flags; /* default is O_CREAT | O_TRUNC | O_WRONLY */
} git_checkout_opts;
/**