mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 16:01:19 +00:00
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