diff --git a/src/mx/_impl/mx_codeowners.py b/src/mx/_impl/mx_codeowners.py index 38c46a8b..91ddc0d1 100644 --- a/src/mx/_impl/mx_codeowners.py +++ b/src/mx/_impl/mx_codeowners.py @@ -218,6 +218,11 @@ def _git_get_repo_root_or_cwd(): only). In other words, it prints possible reviewers for the whole pull request. +* Switch -a (and -b BRANCH too) internally calls git diff master to + query list of modified files. This also prints files modified on master + in the meantime: consider using explicit hash of the branch-point commit + if your branch is not newly created or is not after a fresh rebase. + Any of these modes can be accompanied by -s that enables reviewers suggestions. When reviewer suggestions are turned on, the tool also prints a concrete list of people that should review the modifications.