From 8cbbcf00cff22c6c7caf18ca541a4669202b6565 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Tue, 19 Jul 2022 15:31:34 +0200 Subject: [PATCH] feat: Don't remove inode cache file on -C/--clear -C/--clear is tied to the cache directory while the inode cache file is a temporary file. I think it makes more sense to not consider the inode cache part of the main cache directory. --- src/core/mainoptions.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/mainoptions.cpp b/src/core/mainoptions.cpp index 6c1fc0a15..83ad50803 100644 --- a/src/core/mainoptions.cpp +++ b/src/core/mainoptions.cpp @@ -493,9 +493,6 @@ process_main_options(int argc, const char* const* argv) if (isatty(STDOUT_FILENO)) { PRINT_RAW(stdout, "\n"); } -#ifdef INODE_CACHE_SUPPORTED - InodeCache(config).drop(); -#endif break; } -- 2.47.3