Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
daemon: be strict at parsing parameters --[no-]informative-errors
[gitweb.git]
/
builtin
/
ls-files.c
diff --git
a/builtin/ls-files.c
b/builtin/ls-files.c
index 5cf3e313700e4cbcd26ae1a9f3f99f2819e40702..85004460bd383736490580735417208607dc3481 100644
(file)
--- a/
builtin/ls-files.c
+++ b/
builtin/ls-files.c
@@
-219,6
+219,8
@@
static void show_files(struct dir_struct *dir)
/* For cached/deleted files we don't need to even do the readdir */
if (show_others || show_killed) {
+ if (!show_others)
+ dir->flags |= DIR_COLLECT_KILLED_ONLY;
fill_directory(dir, pathspec);
if (show_others)
show_other_files(dir);