Skip to content

feat: add git worktree support for container mounts#6075

Open
jewzaam wants to merge 1 commit intonektos:masterfrom
jewzaam:fix/git-worktree-support
Open

feat: add git worktree support for container mounts#6075
jewzaam wants to merge 1 commit intonektos:masterfrom
jewzaam:fix/git-worktree-support

Conversation

@jewzaam
Copy link
Copy Markdown

@jewzaam jewzaam commented Apr 12, 2026

Reconstitute worktree .git file into a self-contained .git/ directory so Docker containers can access git metadata. Also skip .git entries at all directory levels in FileCollector to prevent docker cp failures when a repo contains worktree checkout subdirectories.

Fixes #6074
Assisted-by: Claude Code (Claude Opus 4.6)

Reconstitute worktree .git file into a self-contained .git/ directory
so Docker containers can access git metadata. Also skip .git entries
at all directory levels in FileCollector to prevent docker cp failures
when a repo contains worktree checkout subdirectories.

Fixes nektos#6074
Assisted-by: Claude Code (Claude Opus 4.6)
jewzaam added a commit to jewzaam/standards that referenced this pull request Apr 12, 2026
Point install at jewzaam/act fork (commit c2a7412a) which adds
git worktree reconstitution and .git skip in FileCollector.
Pin to fork until upstream PR nektos/act#6075 merges.

Assisted-by: Claude Code (Claude Opus 4.6)
jewzaam added a commit to jewzaam/standards that referenced this pull request Apr 12, 2026
Point install at jewzaam/act fork (commit c2a7412a) which adds
git worktree reconstitution and .git skip in FileCollector.
Pin to fork until upstream PR nektos/act#6075 merges.

Assisted-by: Claude Code (Claude Opus 4.6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git worktree support: reconstitute .git for container mounts

1 participant