Skip to content

fix(scripts): support git worktrees in docker visual tests#11594

Open
Artur- wants to merge 1 commit intomainfrom
visual-tests-worktree
Open

fix(scripts): support git worktrees in docker visual tests#11594
Artur- wants to merge 1 commit intomainfrom
visual-tests-worktree

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented Apr 28, 2026

When .git is a worktree pointer file, resolve the referenced gitdir and its common .git directory and bind-mount it into the container at the same absolute path so git operations (lerna, husky, diff against main) work inside Docker.

When .git is a worktree pointer file, resolve the referenced gitdir and
its common .git directory and bind-mount it into the container at the
same absolute path so git operations (lerna, husky, diff against main)
work inside Docker.
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant