Skip to content

Commit 6057c4a

Browse files
committed
opts: bits are not bytes
The default cache size is 256 megabytes, not megabits as claimed in the docs.
1 parent 42dee8e commit 6057c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ typedef enum {
195195
* > across all repositories before libgit2 starts evicting objects
196196
* > from the cache. This is a soft limit, in that the library might
197197
* > briefly exceed it, but will start aggressively evicting objects
198-
* > from cache when that happens. The default cache size is 256Mb.
198+
* > from cache when that happens. The default cache size is 256MB.
199199
*
200200
* * opts(GIT_OPT_ENABLE_CACHING, int enabled)
201201
*

0 commit comments

Comments
 (0)