Repository navigation
Chore: Update gitignore to skip worktrees - #7454
Conversation
๐ค Bitwarden Claude Code ReviewOverall Assessment: REQUEST CHANGES This PR adds three Code Review Details
|
Codecov Reportโ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7454 +/- ##
==========================================
+ Coverage 85.46% 86.09% +0.62%
==========================================
Files 1045 911 -134
Lines 68537 66131 -2406
Branches 9430 9374 -56
==========================================
- Hits 58577 56937 -1640
+ Misses 6472 5719 -753
+ Partials 3488 3475 -13
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Harness. ๐ New features to boost your workflow:
|
| # Claude | ||
| .claude/worktrees | ||
| .claude/plans | ||
| .claude/output/plans |
There was a problem hiding this comment.
outputs, plural), so generated plans stay untracked-but-visible.
Details and fix
.claude/commands/plan-android-work.md:106-107 documents the plan output location as:
- With ticket: `.claude/outputs/plans/PM-XXXXX-FEATURE-NAME-PLAN.md`
- Without ticket: `.claude/outputs/plans/FEATURE-NAME-PLAN.md`
gitignore patterns match literally, so .claude/output/plans will never match .claude/outputs/plans/.... Nothing else in .gitignore covers that directory either, which leaves the PR's stated objective ("ensure temporary plans ... do not get checked in") unmet for the one generator that exists in this repo.
| .claude/output/plans | |
| .claude/outputs/plans |
Alternatively keep both spellings if another tool writes to the singular form, or broaden to .claude/outputs/ to cover future output subdirectories.
There was a problem hiding this comment.
Claude finished @david-livefront's task in 32s โโ View job
Verified โ fix is in โ
- Gather context (current branch
.gitignore, plan output path) - Verify the reported path mismatch is resolved
.gitignore:36 now reads .claude/outputs/plans, which matches the location /plan-android-work documents at .claude/commands/plan-android-work.md:106-107:
- With ticket: `.claude/outputs/plans/PM-XXXXX-FEATURE-NAME-PLAN.md`
- Without ticket: `.claude/outputs/plans/FEATURE-NAME-PLAN.md`
Also re-checked the rest of the section:
| Pattern | Status |
|---|---|
.claude/worktrees |
โ matches Claude Code's default worktree location |
.claude/plans |
โ no tracked files affected |
.claude/outputs/plans |
โ now matches the documented generator output |
git ls-files .claude shows no tracked files under any of the three patterns, so nothing becomes accidentally untracked. Working tree is clean. My earlier concern is resolved โ no further changes needed from my side.
โข Branch: git-ignore-update
a0597b6 to
17569cb
Compare
|
Thanks @andrebispo5 |
๐๏ธ Tracking
N/A
๐ Objective
This PR updates the
.gitignoreto ensure temporary plans and worktrees do not get checked in.