From 9b9dd06894b57247a90caaaee8d2730645d5272e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 9 Mar 2005 04:00:20 +0000 Subject: [PATCH] We need to mention any change to a directory, not just a time change. Yeah, this isn't very consistent with how files are treated, but it's backward compatible. --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.c b/log.c index 2a321290..412cae26 100644 --- a/log.c +++ b/log.c @@ -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); } -- 2.34.1