Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-23 22:42:29 +0400
committerVicent Marti <tanoku@gmail.com>2013-04-23 22:42:29 +0400
commita2378ae4fee55c95eb9a1f6b44f5a837d39fa724 (patch)
tree139b65ce2233974c281bbd25af1b32ef0b9dc53c /src/cache.c
parent920cbc9846c526958f6b4a7f914bdde2da1d34ec (diff)
opts: Add getter for cached memoryvmg/atomic64
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cache.c b/src/cache.c
index b462af408..88f643b35 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -19,8 +19,7 @@ GIT__USE_OIDMAP
bool git_cache__enabled = true;
int64_t git_cache__max_storage = (256 * 1024 * 1024);
-
-static git_atomic64 git_cache__current_storage = {0};
+git_atomic64 git_cache__current_storage = {0};
static size_t git_cache__max_object_size[8] = {
0, /* GIT_OBJ__EXT1 */