mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-09-12 21:28:25 -04:00
Fix spurious abort when CVS .cvsignore contains '!' clear-list token
The CLEAR_LIST guard in parse_rule_tok checked rule->rflags for FILTRULE_NO_PREFIXES, but NO_PREFIXES is a template-level flag excluded from FILTRULES_FROM_CONTAINER inheritance. The guard was always true for CVS rules, causing RERR_SYNTAX abort instead of clearing the list. Fix: check template->rflags instead of rule->rflags. Regression test: testsuite/ki73-cvs-clear-list_test.py
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f