git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e0fa13
)
Made --list-only output missing args as a "*missing" line.
author
Wayne Davison
<wayned@samba.org>
Sat, 7 Mar 2009 06:42:13 +0000
(22:42 -0800)
committer
Wayne Davison
<wayned@samba.org>
Sat, 7 Mar 2009 06:42:13 +0000
(22:42 -0800)
generator.c
patch
|
blob
|
history
diff --git
a/generator.c
b/generator.c
index a9f3374d6e55c4b88f05593576f0b316ac4ee82d..6dc4e7f724f4537ae23093a896f0e62f2dd43282 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
- {
+ 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));