From 98b1689dcba04ad6385eca04a3d9c02b5f65f1e7 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 28 Dec 2006 18:43:20 +0000 Subject: [PATCH] Output a file-list message when verbose and using incremental recursion mode. --- flist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flist.c b/flist.c index c61fba0d..ce723928 100644 --- 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"); + else if (incremental && verbose && !am_server) + rprintf(FCLIENT, "sending incremental file list\n"); 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; - if (f >= 0 && !incremental) + if (!first_flist) 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; -- 2.34.1