From: Joel Rosdahl Date: Tue, 19 Jul 2022 13:31:34 +0000 (+0200) Subject: feat: Don't remove inode cache file on -C/--clear X-Git-Tag: v4.7~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cbbcf00cff22c6c7caf18ca541a4669202b6565;p=thirdparty%2Fccache.git 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. --- 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; }