Skip to content

Commit

Permalink
Code owners: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vojtech Horky committed Feb 26, 2024
1 parent dfa3595 commit 5fc224e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mx/_impl/mx_codeowners.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5fc224e

Please sign in to comment.