Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion script_umdp3_checker/umdp3_conformance.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ def print_in_box_b(
def which_cms_is_it(path: str, print_volume: int = 3) -> CMSSystem:
"""Determine which CMS is in use based on the presence of certain files."""
repo_path = Path(path)
if (repo_path / ".git").is_dir():
if (repo_path / ".git").exists():
# valid for a repo, worktree, or submodule
cms = GitBdiffWrapper(repo_path)
elif (repo_path / ".svn").is_dir():
"""
Expand Down