Implement --tweak, --no-tweak, --no-tweak-hlinked options.
[rsync/rsync.git] / receiver.c
index da90b5b..ecf7295 100644 (file)
@@ -449,6 +449,9 @@ int recv_files(int f_in, char *local_name)
                        maybe_log_item(file, iflags, itemizing, xname);
 #ifdef SUPPORT_XATTRS
                        if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && !dry_run)
+                               /* If the file needed to be recreated before we
+                                * set xattrs, the generator has already noticed
+                                * the difference in xattrs and done so. */
                                set_file_attrs(fname, file, NULL, fname, 0);
 #endif
                        continue;