summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorNelson Elhage <nelhage@nelhage.com>2018-07-16 03:14:33 +0000
committerNelson Elhage <nelhage@nelhage.com>2018-07-16 03:14:33 +0000
commitb3ca817e2822610292efe8ac5e8950931855dd7a (patch)
tree7f162129a8a290c0f7f9bf5dd7738a0b4096efa1 /include/git2/common.h
parentbfe3424259c31077f106547f74989b2b1bab61e0 (diff)
downloadlibgit2-b3ca817e2822610292efe8ac5e8950931855dd7a.tar.gz
INDEXER_MAX_OBJECTS -> PACK_MAX_OBJECTS
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index e5fff0650..a14e0961e 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -196,8 +196,8 @@ typedef enum {
GIT_OPT_ENABLE_STRICT_HASH_VERIFICATION,
GIT_OPT_SET_ALLOCATOR,
GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY,
- GIT_OPT_GET_INDEXER_MAX_OBJECTS,
- GIT_OPT_SET_INDEXER_MAX_OBJECTS
+ GIT_OPT_GET_PACK_MAX_OBJECTS,
+ GIT_OPT_SET_PACK_MAX_OBJECTS
} git_libgit2_opt_t;
/**
@@ -374,14 +374,14 @@ typedef enum {
* > fail. (Using the FORCE flag to checkout will still overwrite
* > these changes.)
*
- * opts(GIT_OPT_GET_INDEXER_MAX_OBJECTS, size_t *out)
+ * opts(GIT_OPT_GET_PACK_MAX_OBJECTS, size_t *out)
*
* > Get the maximum number of objects libgit2 will allow in a pack
* > file when downloading a pack file from a remote. This can be
* > used to limit maximum memory usage when fetching from an untrusted
* > remote.
*
- * opts(GIT_OPT_SET_INDEXER_MAX_OBJECTS, size_t objects)
+ * opts(GIT_OPT_SET_PACK_MAX_OBJECTS, size_t objects)
*
* > Set the maximum number of objects libgit2 will allow in a pack
* > file when downloading a pack file from a remote.