Made --list-only output missing args as a "*missing" line.
authorWayne Davison <wayned@samba.org>
Sat, 7 Mar 2009 06:42:13 +0000 (22:42 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 7 Mar 2009 06:42:13 +0000 (22:42 -0800)
generator.c

index a9f3374d6e55c4b88f05593576f0b316ac4ee82d..6dc4e7f724f4537ae23093a896f0e62f2dd43282 100644 (file)
@@ -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));