ITEM_UPDATING bit) when ITEM_TRANSFER or ITEM_LOCAL_CHANGE is set.
This lets us interact compatibly when sending itemized bits to an
earlier pre-release.
if (protocol_version >= 29) {
if (ndx >= 0)
write_int(sock_f_out, ndx);
+ /* XXX Temorary compatibility hack */
+ if (iflags & (ITEM_TRANSFER|ITEM_LOCAL_CHANGE))
+ iflags |= ITEM_REPORT_XATTRS; /* ITEM_UPDATE */
write_shortint(sock_f_out, iflags);
if (hlink)
write_vstring(sock_f_out, hlink, strlen(hlink));