aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-02-27 16:54:06 +0100
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-02-27 16:54:06 +0100
commit8339c1f95ec5e0923673e0c27d6842ff5d9838c0 (patch)
tree2dc7ed415080ee26c47755705b4d652fb8327d87 /lib
parente3124e098ef8170dac2b348b91757a7034bc4999 (diff)
Fix #6751 trust_file_cache logic was inverted
Diffstat (limited to 'lib')
-rw-r--r--lib/system.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.ml b/lib/system.ml
index e56736eb1..0ad86c73f 100644
--- a/lib/system.ml
+++ b/lib/system.ml
@@ -54,7 +54,8 @@ let make_dir_table dir =
let filter_dotfiles s f = if f.[0] = '.' then s else StrSet.add f s in
Array.fold_left filter_dotfiles StrSet.empty (Sys.readdir dir)
-let trust_file_cache = ref true
+(** Don't trust in interactive mode (the default) *)
+let trust_file_cache = ref false
let exists_in_dir_respecting_case dir bf =
let cache_dir dir =