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
a9f3374
..
6dc4e7f
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1031,7
+1031,11
@@
static void list_file_entry(struct file_struct *f)
F_SYMLINK(f));
} else
#endif
F_SYMLINK(f));
} else
#endif
- {
+ if (delete_missing_args && !f->mode) {
+ rprintf(FINFO, "%-*s %s\n",
+ colwidth + 31, "*missing",
+ f_name(f, NULL));
+ } else {
rprintf(FINFO, "%s %*s %s %s\n",
permbuf, colwidth, comma_num(len),
timestring(f->modtime), f_name(f, NULL));
rprintf(FINFO, "%s %*s %s %s\n",
permbuf, colwidth, comma_num(len),
timestring(f->modtime), f_name(f, NULL));