Merge branch 'jk/submodule-name-verify-fix' into jk/submodule-name-verify-fsck
[gitweb.git] / dir.c
diff --git a/dir.c b/dir.c
index dedbf5d476f207e39c1b7853ec8c97553181e5fb..41aac3b7b38e76bb790da4c21c362d7d0f1d1a07 100644 (file)
--- a/dir.c
+++ b/dir.c
@@ -2992,7 +2992,7 @@ void untracked_cache_invalidate_path(struct index_state *istate,
 {
        if (!istate->untracked || !istate->untracked->root)
                return;
-       if (!safe_path && !verify_path(path))
+       if (!safe_path && !verify_path(path, 0))
                return;
        invalidate_one_component(istate->untracked, istate->untracked->root,
                                 path, strlen(path));