]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Always set the SID_USING_ALT_BASIS appropriately for the transfer,
authorWayne Davison <wayned@samba.org>
Tue, 22 Feb 2005 22:12:59 +0000 (22:12 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 22 Feb 2005 22:12:59 +0000 (22:12 +0000)
even if --inplace wasn't specified.

generator.c

index 41cdace82308031d6788646eec65a77322df06e2..b0913a01bd5539b485dc77e320962d8c2a9d395d 100644 (file)
@@ -826,7 +826,7 @@ notify_others:
                int iflags = SID_UPDATING;
                if (always_checksum)
                        iflags |= SID_REPORT_CHECKSUM;
-               if (inplace && fnamecmp_type != FNAMECMP_FNAME)
+               if (fnamecmp_type != FNAMECMP_FNAME)
                        iflags |= SID_USING_ALT_BASIS;
                itemize(file, statret, &st, iflags, f_out, -1);
        }