search for: matchflg_clear_list

Displaying 2 results from an estimated 2 matches for "matchflg_clear_list".

2005 Sep 16
1
Bug#314473: rsync still fails badly with an "!" in .cvsignore
...patterns where just "+ " and "- " are * allowed as optional prefixes. */ if (mflags & MATCHFLG_NO_PREFIXES) { - if (*s == '!' && mflags & MATCHFLG_CVS_IGNORE) + if (*s == '!' && mflags & MATCHFLG_CVS_IGNORE) { new_mflags |= MATCHFLG_CLEAR_LIST; /* Tentative! */ + s++; + } } else if (xflags & XFLG_OLD_PREFIXES) { if (*s == '-' && s[1] == ' ') { new_mflags &= ~MATCHFLG_INCLUDE; @@ -674,8 +676,10 @@ } else if (*s == '+' && s[1] == ' ')...
2005 Jan 31
1
[patch] add "--ignore" option
...G_DEF_IGNORE))) { char *mods = ""; switch (*s) { case ':': @@ -695,6 +702,8 @@ } else { if (xflags & XFLG_DEF_INCLUDE) mflags |= MATCHFLG_INCLUDE; + else if (xflags & XFLG_DEF_IGNORE) + mflags |= MATCHFLG_IGNORE; if (*s == '!') mflags |= MATCHFLG_CLEAR_LIST; /* Tentative! */ } @@ -712,7 +721,7 @@ len = strlen(s); if (mflags & MATCHFLG_CLEAR_LIST) { - if (!(xflags & (XFLG_DEF_INCLUDE | XFLG_DEF_EXCLUDE)) && len) { + if (!(xflags & (XFLG_DEF_INCLUDE | XFLG_DEF_EXCLUDE | XFLG_DEF_IGNORE)) && len) { rprintf(FERRO...