diff options
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/git2/common.h b/include/git2/common.h index 70c02a48c..c7ecef4cc 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -205,7 +205,8 @@ typedef enum { GIT_OPT_SET_ALLOCATOR, GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY, GIT_OPT_GET_PACK_MAX_OBJECTS, - GIT_OPT_SET_PACK_MAX_OBJECTS + GIT_OPT_SET_PACK_MAX_OBJECTS, + GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS } git_libgit2_opt_t; /** @@ -395,6 +396,10 @@ typedef enum { * > Set the maximum number of objects libgit2 will allow in a pack * > file when downloading a pack file from a remote. * + * opts(GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS, int enabled) + * > This will cause .keep file existence checks to be skipped when + * > accessing packfiles, which can help performance with remote filesystems. + * * @param option Option key * @param ... value to set the option * @return 0 on success, <0 on failure |
