fsmonitor: update documentation to remove reference to invalid config settings
[gitweb.git] / diff-lib.c
index 2a52b079546cb01d8dfe708f7e7c7e38ec582435..23c6d03ca922c42c6d8efaf6d41c6ae5139efb10 100644 (file)
@@ -12,6 +12,7 @@
 #include "refs.h"
 #include "submodule.h"
 #include "dir.h"
+#include "fsmonitor.h"
 
 /*
  * diff-files
@@ -228,6 +229,7 @@ int run_diff_files(struct rev_info *revs, unsigned int option)
 
                if (!changed && !dirty_submodule) {
                        ce_mark_uptodate(ce);
+                       mark_fsmonitor_valid(ce);
                        if (!DIFF_OPT_TST(&revs->diffopt, FIND_COPIES_HARDER))
                                continue;
                }