status: do not report errors in sequencer/todo
[gitweb.git] / builtin / ls-files.c
index 463105ccb555efdb28efc6c68919b8dd14b5eb31..7f83c9a6f26bd92e5e3832a8ea8d6ec44d5a5f5a 100644 (file)
@@ -680,7 +680,7 @@ int cmd_ls_files(int argc, const char **argv, const char *cmd_prefix)
 
        if (ps_matched) {
                int bad;
-               bad = report_path_error(ps_matched, &pathspec, prefix);
+               bad = report_path_error(ps_matched, &pathspec);
                if (bad)
                        fprintf(stderr, "Did you forget to 'git add'?\n");