diff options
| author | Michael Kubacki <michael.kubacki@microsoft.com> | 2026-07-31 18:43:11 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-08-06 05:35:50 +0300 |
| commit | 4074b5db5df85965e26c5b647a9576c96fe04aaf (patch) | |
| tree | cc0ff66e76e59123558931551599309e2e97fe48 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
| parent | d1c5d47014b10ab9d59c785410dbb8b3f990bc98 (diff) | |
| download | edk2-4074b5db5df85965e26c5b647a9576c96fe04aaf.tar.xz | |
.pytool/Plugin/UncrustifyCheck: Better support multi-repo workspaces
The plugin previously assumed that the workspace was a git repository
and made that pacakges would largely reside in that same repository.
A few changes are made to better support multi-repo workspaces:
1. Added a new method to find the git repo that contains the package
being checked: `_get_git_repo_path()`.
2. Removes exceptions on git not being present and ignore/submodule
exceptions.
3. Checks for git ignored files (and similar) in the repo containing
the package being checked in `_get_git_ignored_paths()`.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions
