X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/24cecf1365b91c89370679e7b4cd472ff31dec6d..ef20efcbb69274e423321d7ac27bfe868bca65aa:/log.c diff --git a/log.c b/log.c index 2a321290..855fb737 100644 --- a/log.c +++ b/log.c @@ -438,8 +438,8 @@ static void log_formatted(enum logcode code, char *format, char *op, break; } n = buf2; - n[0] = iflags & ITEM_HARD_LINKED ? 'h' - : iflags & ITEM_LOCAL_CHANGE ? 'c' + n[0] = iflags & ITEM_LOCAL_CHANGE + ? iflags & ITEM_XNAME_FOLLOWS ? 'h' : 'c' : !(iflags & ITEM_TRANSFER) ? '.' : *op == 's' ? '>' : '<'; n[1] = S_ISDIR(file->mode) ? 'd' @@ -533,7 +533,7 @@ void maybe_log_item(struct file_struct *file, int iflags, int itemizing, if (am_daemon && !dry_run && see_item) log_item(file, &stats, iflags, buf); } else if (see_item || iflags & ITEM_LOCAL_CHANGE || *buf - || (S_ISDIR(file->mode) && iflags & ITEM_REPORT_TIME)) + || (S_ISDIR(file->mode) && iflags & SIGNIFICANT_ITEM_FLAGS)) log_item(file, &stats, iflags, buf); }