Handle the new way that 'c' and 'h' get output by "%i".

This commit is contained in:
Wayne Davison
2005-03-09 18:53:58 +00:00
parent 57b12568e6
commit fd84673e54

4
log.c
View File

@@ -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'