Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved the write_stream_flags() call from io.c into main.c so that
[rsync/rsync.git]
/
exclude.c
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 {