pgit.sh: Stop looking for .git at regular file #128
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260927-pgit-sh-stop-looking-for-git-at-regular-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pgit.sh: Stop looking for .git at regular file
projects_diris searched by looking for a directory named.gitup the direcctory lineage. That does't work for worktrees, which are regular files pointing back to worktree git dir within the the real git directory.Broaden the check from
test -d .gittotest -e .git.