FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Cramer/2026 03 25/bare repo bug by jlongster · Pull Request #23728 · anomalyco/opencode · GitHub

Cramer/2026 03 25/bare repo bug - #23728

Closed
jlongster wants to merge 3 commits into
devfrom
Cramer/2026-03-25/bare-repo-bug
Closed

Cramer/2026 03 25/bare repo bug#23728
jlongster wants to merge 3 commits into
devfrom
Cramer/2026-03-25/bare-repo-bug

Conversation

jlongster commented Apr 21, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Copy of #19054 with a minor refactoring

Use git-common-dir as the project ID cache location so bare-repo-backed worktrees do not write to a shared parent .git path. Add regression tests that reproduce parent-path cache collisions across bare repos.
Detect bare repos by checking if git-common-dir basename ends with .git (excluding .git itself). This ensures both the worktree field in the database and the cache location are correct for bare-repo-backed worktrees.
jlongster force-pushed the Cramer/2026-03-25/bare-repo-bug branch from ff59565 to e344e63 Compare April 21, 2026 19:22

Copy link
Copy Markdown
Contributor Author

Nevermind, I was wrong

jlongster closed this Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL