diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-04-22 17:04:52 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 17:04:52 +0200 |
commit | d87715926049390a2417a2476742114ec966686a (patch) | |
tree | f5cf7daf3913578f57076c2efc94bfd1f728068c /include/git2/common.h | |
parent | cf9709b64eb49d5a0ee1181b80c950e518fb45b0 (diff) | |
download | libgit2-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.h | 3 |
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 }; |