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:
03a9ca0
)
Output a message when we skip a server-excluded file.
author
Wayne Davison
<wayned@samba.org>
Tue, 18 May 2004 08:50:17 +0000
(08:50 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 18 May 2004 08:50:17 +0000
(08:50 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
d8e80e0
..
8053348
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-285,14
+285,20
@@
void recv_generator(char *fname, struct file_struct *file, int i, int f_out)
if (server_exclude_list.head
&& check_exclude(&server_exclude_list, fname,
if (server_exclude_list.head
&& check_exclude(&server_exclude_list, fname,
- S_ISDIR(file->mode)) < 0)
+ S_ISDIR(file->mode)) < 0) {
+ if (verbose) {
+ rprintf(FINFO, "skipping server-excluded file \"%s\"\n",
+ fname);
+ }
return;
return;
+ }
statret = link_stat(fname,&st);
if (only_existing && statret == -1 && errno == ENOENT) {
/* we only want to update existing files */
statret = link_stat(fname,&st);
if (only_existing && statret == -1 && errno == ENOENT) {
/* we only want to update existing files */
- if (verbose > 1) rprintf(FINFO, "not creating new file \"%s\"\n",fname);
+ if (verbose > 1)
+ rprintf(FINFO, "not creating new file \"%s\"\n", fname);
return;
}
return;
}