From 095ccc013f04398369d4063ff802d4c2928e367d Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Thu, 26 Jul 2012 16:31:49 -0700 Subject: Checkout: implementation of most options --- include/git2/checkout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/git2') diff --git a/include/git2/checkout.h b/include/git2/checkout.h index 6e0a05f7..7a32cffa 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; /** -- cgit v1.2.1