]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule.c
fsmonitor: teach git to optionally utilize a file system monitor to speed up detectin...
[thirdparty/git.git] / submodule.c
index 3cea8221e0bc3dbe77b157384adcecdfc077c7dc..8a931a1aaa2200adff96d4006f3fb4971c558e67 100644 (file)
@@ -62,7 +62,7 @@ int is_staging_gitmodules_ok(const struct index_state *istate)
        if ((pos >= 0) && (pos < istate->cache_nr)) {
                struct stat st;
                if (lstat(GITMODULES_FILE, &st) == 0 &&
-                   ce_match_stat(istate->cache[pos], &st, 0) & DATA_CHANGED)
+                   ce_match_stat(istate->cache[pos], &st, CE_MATCH_IGNORE_FSMONITOR) & DATA_CHANGED)
                        return 0;
        }