Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf011fe
)
Paul's patch to improve the "not creating new ..." message
author
Wayne Davison
<wayned@samba.org>
Sun, 10 Apr 2005 19:44:16 +0000
(19:44 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 10 Apr 2005 19:44:16 +0000
(19:44 +0000)
for directories.
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
b73e50a
..
a4a54a0
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-668,7
+668,8
@@
static void recv_generator(char *fname, struct file_struct *file, int ndx,
if (only_existing && statret == -1 && stat_errno == ENOENT) {
/* we only want to update existing files */
if (verbose > 1) {
- rprintf(FINFO, "not creating new file \"%s\"\n",
+ rprintf(FINFO, "not creating new %s \"%s\"\n",
+ S_ISDIR(file->mode) ? "directory" : "file",
safe_fname(fname));
}
return;