-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vojtech Horky
committed
Sep 14, 2023
1 parent
5804c75
commit 17345dd
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,6 +234,15 @@ def _git_get_repo_root_or_cwd(): | |
Similarly, *.md files are owned by [email protected] and | ||
[email protected]. | ||
These rules are applied to files in the same directory (i.e. same | ||
as the one where this OWNERS.toml is stored) as well as to files | ||
matching the pattern in subdirectories. The pattern can be | ||
overridden by another OWNERS.toml in a subdirectory. In other words, | ||
ownership tries to find first matching rule, starting with file | ||
OWNERS.toml in current directory and traversing to parent ones. | ||
Directories without OWNERS.toml are skipped and search continues | ||
in their parent. | ||
Note that we allow both explicit TOML arrays as well as implicit | ||
separator of whitespace when specifying list of owners or list | ||
of file patterns. | ||
|