With -vv, show state of --whole-file once at the start of the transfer.
authorMartin Pool <mbp@samba.org>
Mon, 8 Apr 2002 08:06:18 +0000 (08:06 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 8 Apr 2002 08:06:18 +0000 (08:06 +0000)
generator.c

index 2e6305a..888835f 100644 (file)
@@ -485,6 +485,13 @@ void generate_files(int f,struct file_list *flist,char *local_name,int f_recv)
                rprintf(FINFO,"generator starting pid=%d count=%d\n",
                        (int)getpid(),flist->count);
 
+       if (verbose >= 2) {
+               rprintf(FINFO,
+                       disable_deltas_p() 
+                       ? "delta-transmission disabled for local transfer or --whole-file\n"
+                       : "delta transmission enabled\n");
+       }
+       
        /* we expect to just sit around now, so don't exit on a
           timeout. If we really get a timeout then the other process should
           exit */