summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-22 17:04:52 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-22 17:04:52 +0200
commitd87715926049390a2417a2476742114ec966686a (patch)
treef5cf7daf3913578f57076c2efc94bfd1f728068c /include/git2/common.h
parentcf9709b64eb49d5a0ee1181b80c950e518fb45b0 (diff)
downloadlibgit2-vmg/new-cache.tar.gz
cache: Max cache size, and evict when the cache fills upvmg/new-cache
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 80d83d345..ccd252fda 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -131,7 +131,8 @@ enum {
GIT_OPT_SET_MWINDOW_MAPPED_LIMIT,
GIT_OPT_GET_SEARCH_PATH,
GIT_OPT_SET_SEARCH_PATH,
- GIT_OPT_SET_CACHE_LIMIT,
+ GIT_OPT_SET_CACHE_OBJECT_LIMIT,
+ GIT_OPT_SET_CACHE_MAX_SIZE,
GIT_OPT_ENABLE_CACHING
};