mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-10 18:37:40 -04:00
Handle the new way that 'c' and 'h' get output by "%i".
This commit is contained in:
4
log.c
4
log.c
@@ -438,8 +438,8 @@ static void log_formatted(enum logcode code, char *format, char *op,
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user