Skip to content

Commit e28b004

Browse files
committed
fix(extract): exclude .worktrees/ from template extraction
Git worktrees are working copies, not part of the project source. Without this, extract would template duplicate files from any active worktrees in the project.
1 parent fb22906 commit e28b004

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/extract/exclude.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const DEFAULT_EXCLUDES: &[&str] = &[
2828
".nuxt",
2929
".output",
3030
".turbo",
31+
".worktrees",
3132
".diecut-answers.toml",
3233
];
3334

0 commit comments

Comments
 (0)