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:
012d1a0
)
Output a file-list message when verbose and using incremental recursion
author
Wayne Davison
<wayned@samba.org>
Thu, 28 Dec 2006 18:43:20 +0000
(18:43 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 28 Dec 2006 18:43:20 +0000
(18:43 +0000)
mode.
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
c61fba0
..
ce72392
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-1352,6
+1352,8
@@
struct file_list *send_file_list(int f, int argc, char *argv[])
rprintf(FLOG, "building file list\n");
if (show_filelist_p())
start_filelist_progress("building file list");
rprintf(FLOG, "building file list\n");
if (show_filelist_p())
start_filelist_progress("building file list");
+ else if (incremental && verbose && !am_server)
+ rprintf(FCLIENT, "sending incremental file list\n");
start_write = stats.total_written;
gettimeofday(&start_tv, NULL);
start_write = stats.total_written;
gettimeofday(&start_tv, NULL);
@@
-1643,10
+1645,12
@@
struct file_list *recv_file_list(int f)
int dstart, flags;
int64 start_read;
int dstart, flags;
int64 start_read;
- if (
f >= 0 && !incremental
)
+ if (
!first_flist
)
rprintf(FLOG, "receiving file list\n");
if (show_filelist_p())
start_filelist_progress("receiving file list");
rprintf(FLOG, "receiving file list\n");
if (show_filelist_p())
start_filelist_progress("receiving file list");
+ else if (incremental && verbose && !am_server && !first_flist)
+ rprintf(FCLIENT, "receiving incremental file list\n");
start_read = stats.total_read;
start_read = stats.total_read;