Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f7e29b
)
We need to mention any change to a directory, not just a time change.
author
Wayne Davison
<wayned@samba.org>
Wed, 9 Mar 2005 04:00:20 +0000
(
04:00
+0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 9 Mar 2005 04:00:20 +0000
(
04:00
+0000)
Yeah, this isn't very consistent with how files are treated, but it's
backward compatible.
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
2a32129
..
412cae2
100644
(file)
--- 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);
}