Files
airflow/shared/module_loading/tests
Yoann dba47277f3 fix: correct airflowignore negation pattern handling for directory-only patterns (#62860)
Directory-only patterns (ending with /) in .airflowignore were incorrectly
matching files inside the directory, not just the directory itself. This caused
negation patterns like !abc/def/ to un-ignore all files within abc/def/ instead
of only un-ignoring the directory for traversal purposes.

Added dir_only flag to _GlobIgnoreRule that skips file matching for
directory-only patterns, consistent with gitignore specification.

Closes: #62716
2026-03-04 15:05:34 +01:00
..