Skip to content

Check Valid Git Directory by Comparing Top-Level Path #73

Open
@threeal

Description

@threeal

This issue suggests modifying how to check if a directory contains a Git repository by comparing the Git top-level path with the directory path. This change is proposed because merely checking the Git status or if a path is inside a Git directory is not sufficient. Since this project itself is within a Git repository, any directory or files within this project will be considered inside a Git directory. Therefore, comparing the top-level paths is a better approach to determine whether a directory contains a Git repository or not.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions