Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made --list-only output missing args as a "*missing" line.
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
2ffd88a
..
ec33d5a
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1223,7
+1223,11
@@
static void list_file_entry(struct file_struct *f)
f_name(f, NULL), F_SYMLINK(f));
} else
#endif
f_name(f, NULL), F_SYMLINK(f));
} else
#endif
- {
+ if (delete_missing_args && !f->mode) {
+ rprintf(FINFO, "%-*s %s\n",
+ /*colwidth*/11 + 31, "*missing",
+ f_name(f, NULL));
+ } else {
rprintf(FINFO, "%s %11.0f %s %s\n",
permbuf, len, timestring(f->modtime),
f_name(f, NULL));
rprintf(FINFO, "%s %11.0f %s %s\n",
permbuf, len, timestring(f->modtime),
f_name(f, NULL));