You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking if git rev-parse --git-common-dir == git rev-parse --git-dir should give a better result on whether in a worktree or not. Current way gets mucky if there are sub repositories.
The text was updated successfully, but these errors were encountered:
gwendolyngoetz
changed the title
Switch Method of Check the Type of Repo
Switch Method of Checking the Type of Repo
Apr 14, 2023
Checking if
git rev-parse --git-common-dir
==git rev-parse --git-dir
should give a better result on whether in a worktree or not. Current way gets mucky if there are sub repositories.The text was updated successfully, but these errors were encountered: