Commit 6057c4a038d575ff02cdfce8ad93dfb541e90b2d

Carlos Martín Nieto 2014-03-23T15:48:13

opts: bits are not bytes The default cache size is 256 megabytes, not megabits as claimed in the docs.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/common.h b/include/git2/common.h
index a357d98..32237ef 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -195,7 +195,7 @@ typedef enum {
  *		> across all repositories before libgit2 starts evicting objects
  *		> from the cache.  This is a soft limit, in that the library might
  *		> briefly exceed it, but will start aggressively evicting objects
- *		> from cache when that happens.  The default cache size is 256Mb.
+ *		> from cache when that happens.  The default cache size is 256MB.
  *
  *	* opts(GIT_OPT_ENABLE_CACHING, int enabled)
  *