The limit
command limits execution to a subset of directories. To determine
which folders to include, mrt runs the given CLI command in all subfolders.
Folders in which the command exits with code 0
(success) get included in
walks and runs. Use the "status" command to
see the list of included folders. When done with the folder subset, you can go
back to processing all folders.
m limit <command>
A good CLI command to call is has.
Limit to ...
-
repos that contain a certain file or folder:
m limit test -f <file or folder name> m limit has file|folder <name>
-
repos that contain a certain branch:
m limit git show-ref --verify --quiet refs/heads/<branch name> m limit has branch <name>