From: Wayne Davison Date: Sat, 5 Mar 2005 04:34:01 +0000 (+0000) Subject: Swapped the bit-values for ITEM_TRANSFER and ITEM_REPORT_XATTRS. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e957626347a9184a1d4795a4b0a99e77089c9090 Swapped the bit-values for ITEM_TRANSFER and ITEM_REPORT_XATTRS. This lets us be more compatible with the earlier pre-releases with a better heuristic for backward-compatible itemized bits. --- diff --git a/rsync.h b/rsync.h index 81153ebd..62112432 100644 --- a/rsync.h +++ b/rsync.h @@ -138,7 +138,7 @@ #define DEL_TERSE (1<<3) /* For use by the itemize_changes code */ -#define ITEM_TRANSFER (1<<0) +#define ITEM_REPORT_XATTRS (1<<0) #define ITEM_REPORT_CHECKSUM (1<<1) #define ITEM_REPORT_SIZE (1<<2) #define ITEM_REPORT_TIME (1<<3) @@ -149,7 +149,7 @@ #define ITEM_USING_ALT_BASIS (1<<8) #define ITEM_HARD_LINKED (1<<9) #define ITEM_LOCAL_CHANGE (1<<10) -#define ITEM_REPORT_XATTRS (1<<11) +#define ITEM_TRANSFER (1<<11) /* These are outside the range of the transmitted flags. */ #define ITEM_NO_DEST_AND_NO_UPDATE (1<<16) /* used by itemize() */ #define ITEM_MISSING_DATA (1<<16) /* used by log_formatted() */