Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Ignore linked worktrees to prevent primary checkout dirty state

Boatstack now automatically ignores `worktrees/` inside the `.product-loop/` directory by explicitly adding it to the generated `.product-loop/.gitignore` file. This prevents linked worktree directories from dirtying the primary repository checkout, ensuring commands like `boatstack-update` can run smoothly. Users should still commit or clean up their untracked `features/` and `intake/` copies before updating.

Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func BuildExportBundle(configPath string, config ProjectConfig, rawConfig []byte
return ExportBundle{}, err
}
files[".product-loop/project.json"] = projectJSON
files[".product-loop/.gitignore"] = []byte("bin/\n")
files[".product-loop/.gitignore"] = []byte("bin/\nworktrees/\n")
files[".product-loop/intake/.gitkeep"] = []byte{}
files[".product-loop/hooks/guard.sh"] = guardShellScript()
files[".product-loop/hooks/guard.ps1"] = guardPowerShellScript()
Expand Down