X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cb8988eb4ab8147ef832c03bc01902ce3be4dcf5..refs/heads/old/matt:/receiver.c diff --git a/receiver.c b/receiver.c index da90b5bc..ecf7295a 100644 --- a/receiver.c +++ b/receiver.c @@ -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;