Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65e83e0
)
The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the
author
Wayne Davison
<wayned@samba.org>
Tue, 21 Nov 2006 17:46:54 +0000
(17:46 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 21 Nov 2006 17:46:54 +0000
(17:46 +0000)
other side.
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
1ed19dd
..
11b187c
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-1070,6
+1070,8
@@
char *get_rule_prefix(int match_flags, const char *pat, int for_xfer,
else
legal_len = 0;
else
legal_len = 0;
+ if (match_flags & MATCHFLG_NEGATE)
+ *op++ = '!';
if (match_flags & MATCHFLG_CVS_IGNORE)
*op++ = 'C';
else {
if (match_flags & MATCHFLG_CVS_IGNORE)
*op++ = 'C';
else {