summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2020-06-26 16:10:30 -0700
committerlhchavez <lhchavez@lhchavez.com>2020-06-26 16:45:25 -0700
commiteab2b0448e47801090c50fe9bb9e72e377f0317a (patch)
tree9fde77ceadd42f738e6ea4981cb9fddb34fa66a2 /include/git2/common.h
parent9679df573604571d1372d2850116e66e1f4cec23 (diff)
downloadlibgit2-eab2b0448e47801090c50fe9bb9e72e377f0317a.tar.gz
Review feedback
* Change the default of the file limit to 0 (unlimited). * Changed the heuristic to close files to be the file that contains the least-recently-used window such that the window is the most-recently-used in the file, and the file does not have in-use windows. * Parameterized the filelimit test to check for a limit of 1 and 100 open windows.
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 908bb61cc..8dd30d506 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -240,7 +240,7 @@ typedef enum {
* * opts(GIT_OPT_SET_MWINDOW_FILE_LIMIT, size_t):
*
* > Set the maximum number of files that can be mapped at any time
- * > by the library
+ * > by the library. The default (0) is unlimited.
*
* * opts(GIT_OPT_GET_SEARCH_PATH, int level, git_buf *buf)
*