Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix git info within VM for worktrees (#51119)
If a worktree is used, say for 7.x, and packaging tests are run, the build within the VM will fail due to the parent checkout not being accessible. This is because the path of the worktree is for the host systtem, not the VM. This commit makes the git info unknown, just as if the .git directory did not exist.
- Loading branch information