From 2a28dd32fddfcb86a8ece12628f765c9f8e88d08 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 21 Nov 2006 17:46:54 +0000 Subject: [PATCH] The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the other side. --- exclude.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exclude.c b/exclude.c index 1ed19dd4..11b187c6 100644 --- 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; + if (match_flags & MATCHFLG_NEGATE) + *op++ = '!'; if (match_flags & MATCHFLG_CVS_IGNORE) *op++ = 'C'; else { -- 2.34.1