summaryrefslogtreecommitdiff
path: root/include/git2/checkout.h
diff options
context:
space:
mode:
authorBen Straub <bstraub@github.com>2012-07-26 16:31:49 -0700
committerBen Straub <bstraub@github.com>2012-07-26 16:31:49 -0700
commit095ccc013f04398369d4063ff802d4c2928e367d (patch)
tree74038361c5825bdb5929c430f03a69d4bde9b3f7 /include/git2/checkout.h
parentb401bace1b28ac23990382605791eddbeda09d9b (diff)
downloadlibgit2-095ccc013f04398369d4063ff802d4c2928e367d.tar.gz
Checkout: implementation of most options
Diffstat (limited to 'include/git2/checkout.h')
-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;
/**