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:
2fc50f5
)
Use '.' for unchanged attributes in the %i output.
author
Wayne Davison
<wayned@samba.org>
Thu, 17 Feb 2005 09:16:23 +0000
(09:16 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 17 Feb 2005 09:16:23 +0000
(09:16 +0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
eb54cb5
..
905c64a
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-417,18
+417,19
@@
static void log_formatted(enum logcode code,
break;
case 'i':
n = buf2;
break;
case 'i':
n = buf2;
- n[0] = !(iflags & ITEM_UPDATING) ? ' ' : dry_run
- ? '*' : *op == 's' ? '>' : '<';
+ n[0] = !(iflags & ITEM_UPDATING) ? ' '
+ : dry_run ? '*'
+ : *op == 's' ? '>' : '<';
n[1] = S_ISDIR(file->mode) ? 'd' : IS_DEVICE(file->mode) ? 'D'
: S_ISLNK(file->mode) ? 'L' : 'f';
n[1] = S_ISDIR(file->mode) ? 'd' : IS_DEVICE(file->mode) ? 'D'
: S_ISLNK(file->mode) ? 'L' : 'f';
- n[2] = !(iflags & ITEM_REPORT_CHECKSUM) ? '
-
' : 'c';
- n[3] = !(iflags & ITEM_REPORT_SIZE) ? '
-
' : 's';
- n[4] = !(iflags & ITEM_REPORT_TIME) ? '
-
'
+ n[2] = !(iflags & ITEM_REPORT_CHECKSUM) ? '
.
' : 'c';
+ n[3] = !(iflags & ITEM_REPORT_SIZE) ? '
.
' : 's';
+ n[4] = !(iflags & ITEM_REPORT_TIME) ? '
.
'
: !preserve_times || IS_DEVICE(file->mode)
|| S_ISLNK(file->mode) ? 'T' : 't';
: !preserve_times || IS_DEVICE(file->mode)
|| S_ISLNK(file->mode) ? 'T' : 't';
- n[5] = !(iflags & ITEM_REPORT_PERMS) ? '
-
' : 'p';
- n[6] = !(iflags & ITEM_REPORT_OWNER) ? '
-
' : 'o';
- n[7] = !(iflags & ITEM_REPORT_GROUP) ? '
-
' : 'g';
+ n[5] = !(iflags & ITEM_REPORT_PERMS) ? '
.
' : 'p';
+ n[6] = !(iflags & ITEM_REPORT_OWNER) ? '
.
' : 'o';
+ n[7] = !(iflags & ITEM_REPORT_GROUP) ? '
.
' : 'g';
n[8] = '\0';
if (iflags & (ITEM_IS_NEW|ITEM_MISSING_DATA)) {
n[8] = '\0';
if (iflags & (ITEM_IS_NEW|ITEM_MISSING_DATA)) {