Merge branch 'maint'
* maint: Teach ls-files --with-tree=<tree> to work with options other than -c builtin-ls-files.c: coding style fix.maint
commit
bf31115312
|
@ -227,6 +227,8 @@ static void show_files(struct dir_struct *dir, const char *prefix)
|
||||||
int dtype = ce_to_dtype(ce);
|
int dtype = ce_to_dtype(ce);
|
||||||
if (excluded(dir, ce->name, &dtype) != dir->show_ignored)
|
if (excluded(dir, ce->name, &dtype) != dir->show_ignored)
|
||||||
continue;
|
continue;
|
||||||
|
if (ce->ce_flags & CE_UPDATE)
|
||||||
|
continue;
|
||||||
err = lstat(ce->name, &st);
|
err = lstat(ce->name, &st);
|
||||||
if (show_deleted && err)
|
if (show_deleted && err)
|
||||||
show_ce_entry(tag_removed, ce);
|
show_ce_entry(tag_removed, ce);
|
||||||
|
|
Loading…
Reference in New Issue