Allow a ',' to prefix the MODIFIERS for a single-letter filter rule.
[rsync/rsync.git] / exclude.c
index 1e0d31b..a7bd9ca 100644 (file)
--- a/exclude.c
+++ b/exclude.c
@@ -688,6 +688,8 @@ static const char *parse_rule_tok(const char *p, uint32 mflags, int xflags,
                        break;
                default:
                        ch = *s;
+                       if (s[1] == ',')
+                               s++;
                        break;
                }
                switch (ch) {