git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b1256
)
Handle the new way that 'c' and 'h' get output by "%i".
author
Wayne Davison
<wayned@samba.org>
Wed, 9 Mar 2005 18:53:58 +0000
(18:53 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 9 Mar 2005 18:53:58 +0000
(18:53 +0000)
log.c
patch
|
blob
|
history
diff --git
a/log.c
b/log.c
index 412cae269f802403f84133aa7ef6531b763c49c8..855fb7377f1105fe4a74d13d7298d9ed2d2d5331 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;
- 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'