Its theme's rank, 14 days: 56 on the Claude Code sheet
2 people reported

All time, since Oct 17.

Sandbox placeholder files in .git

“java.io.IOException: Empty 'commondir' file: /work/repo/.git/commondir”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/19005/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Sandbox leaves placeholder files in .git that break tools. A one-byte "." .git/commondir file (and in Windows reports empty gitdir) remains in the main git directory; JGit and worktree creation reject it.

Is this your bug?

File my report
Where
Sandbox
Error text
java.io.IOException: Empty 'commondir' file: /work/repo/.git/commondir
Versions
2.1.311
Platforms
Linux, Windows
How bad
Breaks a normal workflow.

Part of: Sandbox breaks git operations3 bugs

  1. Git over SSH fails in sandbox4 people
  2. Sandbox leaves .git/config.lock4 people

Not quite your bug?

  1. Sandbox read-only bind breaks Bash3 people
  2. Empty .git treated as repo root2 people

Original reports2, newest first

  1. Linux sandbox leaves .git/commondir containing ".", which JGit-based tools such as Spotless reject#105401
  2. Desktop (Windows): sandbox placeholder files in .git (gitdir/commondir) make "Start with worktree" fail#103098

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.