aboutsummaryrefslogtreecommitdiff
path: root/doc/modules
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@toptal.com>2026-04-25 22:50:36 +0100
committerBozhidar Batsov <bozhidar@toptal.com>2026-04-25 22:50:36 +0100
commita8a90311044f240f9b1d4789a32d5144f8d955ec (patch)
tree30513d86b30bb72a405713fdb7c8969ab8568482 /doc/modules
parent82fd4a5d3ab97cf5a8fdf65c38a68995ec1b3ef1 (diff)
Warn when a + keep entry contains glob metacharactersdirconfig-improvements
The parser silently turns every keep entry into a directory via file-name-as-directory, which means a user-typed +*.json or +/foo.txt becomes "*.json/" or "foo.txt/" and quietly never matches anything. Spot the obvious misuses (anything containing *, ?, or [) at parse time and emit a warning so the user can correct the file or move the pattern to an ignore/ensure rule.
Diffstat (limited to 'doc/modules')
0 files changed, 0 insertions, 0 deletions