Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle the new way that 'c' and 'h' get output by "%i".
[rsync/rsync.git]
/
log.c
diff --git
a/log.c
b/log.c
index
412cae2
..
855fb73
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-438,8
+438,8
@@
static void log_formatted(enum logcode code, char *format, char *op,
break;
}
n = buf2;
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'
: !(iflags & ITEM_TRANSFER) ? '.'
: *op == 's' ? '>' : '<';
n[1] = S_ISDIR(file->mode) ? 'd'