Commit fd84673e authored by Wayne Davison's avatar Wayne Davison

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

parent 57b12568
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment