mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 21:04:15 -04:00
Output a -vvv(erbose) message when receiving an incremental file list.
This commit is contained in:
1 parent
b5ae4e25c2
commit
1faa1a6da9
3 files changed
+13
-1
No files matched your search
@@ -1954,7 +1954,7 @@ struct file_list *recv_file_list(int f)
|
||||
#endif
|
||||
{
|
||||
flist->sorted = flist->files;
|
||||
if (inc_recurse) {
|
||||
if (inc_recurse && dir_flist->count > dstart) {
|
||||
dir_flist->sorted = dir_flist->files;
|
||||
qsort(dir_flist->sorted + dstart, dir_flist->count - dstart,
|
||||
sizeof (struct file_struct*), (int (*)())file_compare);
|
||||
@@ -2011,6 +2011,10 @@ void recv_additional_file_list(int f)
|
||||
NDX_FLIST_OFFSET - dir_flist->count + 1);
|
||||
exit_cleanup(RERR_PROTOCOL);
|
||||
}
|
||||
if (verbose > 3) {
|
||||
rprintf(FINFO, "[%s] receiving flist for dir %d\n",
|
||||
who_am_i(), ndx);
|
||||
}
|
||||
flist = recv_file_list(f);
|
||||
flist->parent_ndx = ndx;
|
||||
}
|
||||
|
||||
@@ -340,6 +340,10 @@ static void read_msg_fd(void)
|
||||
/* Read extra file list from receiver. */
|
||||
assert(iobuf_in != NULL);
|
||||
assert(iobuf_f_in == fd);
|
||||
if (verbose > 3) {
|
||||
rprintf(FINFO, "[%s] receiving flist for dir %d\n",
|
||||
who_am_i(), IVAL(buf,0));
|
||||
}
|
||||
flist = recv_file_list(fd);
|
||||
flist->parent_ndx = IVAL(buf,0);
|
||||
break;
|
||||
|
||||
@@ -175,6 +175,10 @@ int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr,
|
||||
/* Send everything read from f_in to msg_fd_out. */
|
||||
send_msg_int(MSG_FLIST, ndx);
|
||||
start_flist_forward(f_in);
|
||||
if (verbose > 3) {
|
||||
rprintf(FINFO, "[%s] receiving flist for dir %d\n",
|
||||
who_am_i(), ndx);
|
||||
}
|
||||
flist = recv_file_list(f_in);
|
||||
flist->parent_ndx = ndx;
|
||||
stop_flist_forward();
|
||||
|
||||
Reference in new issue
Block a user