summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-12 12:44:51 -0700
committerVicent Marti <tanoku@gmail.com>2013-04-22 16:50:51 +0200
commitb12b72ea82776bbbd4296eeac1376055b0487edf (patch)
tree193ea7ff5f0a026c6157663cc9e181df3c3da364 /src/commit.c
parentbadd85a61354ef7b62c5f8e53d740738e5ef1e57 (diff)
downloadlibgit2-b12b72ea82776bbbd4296eeac1376055b0487edf.tar.gz
Add range checking around cache opts
Add a git_cache_set_max_object_size method that does more checking around setting the max object size. Also add a git_cache_size to read the number of objects currently in the cache. This makes it easier to write tests.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions