Code

add-interactive: refactor mode hunk handling
[git.git] / builtin-ls-files.c
index 437c366c9e7875aa5003419f1eb03c600b1a1f6f..88e2697aebf11399baf9f9c8b5a63b06a0f83c1d 100644 (file)
@@ -496,7 +496,7 @@ int cmd_ls_files(int argc, const char **argv, const char *prefix)
                tag_other = "? ";
                tag_killed = "K ";
        }
-       if (show_modified || show_others || (dir.flags & DIR_SHOW_IGNORED) || show_killed)
+       if (show_modified || show_others || show_deleted || (dir.flags & DIR_SHOW_IGNORED) || show_killed)
                require_work_tree = 1;
        if (show_unmerged)
                /*