{"version":"2.1.331","anchor":"ship-refuses-when-git-internals-are-not-plain-files","canonical_anchor":"ship-refuses-when-git-internals-are-not-plain-files","heading":"\/ship stops if key files inside .git are links or other unusual files","tier":"notice","area":"Ship","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/ship-refuses-when-git-internals-are-not-plain-files","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### \/ship stops if key files inside .git are links or other unusual files\n\n\/ship refuses to continue if certain files in the .git folder are symbolic links, hard links or anything other than a plain file\n\n**What**\n\nGit keeps its history and bookkeeping in a hidden `.git` folder. `\/ship` now checks these entries in it, once before it stages your changes and again before it commits:\n\n- `COMMIT_EDITMSG`\n\n- `logs\/HEAD`\n\n- `reftable`\n\n- the log for your current branch\n\n- `index`\n\n- `packed-refs`\n\nIf any of them is a symbolic link (a shortcut pointing somewhere else), a hard link (a second name for the same file), or anything other than a plain file or folder, `\/ship` stops with a message saying it \"isn't a plain file or folder that \/ship can read\".\n\nSeparately, a sandbox notice now lists `NOTES_MERGE_WORKTREE` among the links that are deleted rather than renamed. The sandbox is the restricted environment Claude Code can run commands in.\n\n**Why**\n\nThis is a safety measure that stops `\/ship` from reading or writing through unexpected links inside `.git`. It can block `\/ship` in unusual checkouts where parts of `.git` are linked from elsewhere.\n\n- Area: Ship\n- Names: `\/ship`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}