Skip to content

feat: change default worktree format and clone mode - #155

Merged
raphi011 merged 1 commit into
mainfrom
claude/update-worktree-defaults-QwAuV
Mar 28, 2026
Merged

raphi011 merged 1 commit into
mainfrom
claude/update-worktree-defaults-QwAuV

Conversation

@raphi011

Copy link
Copy Markdown
Owner

Change default worktree format from "{repo}-{branch}" (sibling) to
".worktrees/{branch}" (nested inside repo under .worktrees/).

Change default clone mode from "bare" to "regular" (standard git clone).

Update IsBare() and ResolveIsBare() to no longer treat empty string as
bare. Update config templates, docs, and tests accordingly.

https://claude.ai/code/session_01SMwQCizzafJsGwYQcjfhEN

@codecov

codecov Bot commented Mar 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/config/config.go 75.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@raphi011
raphi011 force-pushed the claude/update-worktree-defaults-QwAuV branch from 276be22 to f52ca6e Compare March 28, 2026 08:28
Change default worktree format from "{repo}-{branch}" (sibling) to
".worktrees/{branch}" (nested inside repo under .worktrees/).

Change default clone mode from "bare" to "regular" (standard git clone).

Update IsBare() and ResolveIsBare() to no longer treat empty string as
bare. Update config templates, docs, and tests accordingly.

https://claude.ai/code/session_01SMwQCizzafJsGwYQcjfhEN

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@raphi011
raphi011 force-pushed the claude/update-worktree-defaults-QwAuV branch from f52ca6e to 8079b4d Compare March 28, 2026 08:32
@raphi011
raphi011 merged commit 105fbfd into main Mar 28, 2026
1 check passed
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.

2 participants