summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-03-09 04:00:20 +0000
committerWayne Davison <wayned@samba.org>2005-03-09 04:00:20 +0000
commit9b9dd06894b57247a90caaaee8d2730645d5272e (patch)
tree7c05a6d0075358047ade01c217906dab67bdf79b
parent1f7e29b99cf032c792d0d7ed49e74b1c14ddb5ea (diff)
downloadrsync-9b9dd06894b57247a90caaaee8d2730645d5272e.tar.gz
rsync-9b9dd06894b57247a90caaaee8d2730645d5272e.tar.bz2
rsync-9b9dd06894b57247a90caaaee8d2730645d5272e.zip
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.
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
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);
}