Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Worktree cleanup now also removes reftable files

Cleaning up a git worktree's admin folder now also deletes reftable files, and macOS file opens check they got the right file

You'll notice Bug Fixes
JSON All of v2.1.299
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.299,
Bug FixesSection of the release
What

A git worktree is an extra working copy of a repository that shares the same history. When Claude Code cleans up a worktree's admin folder (the small folder git keeps to track that copy), it previously deleted only a fixed list of files. It now also removes the files git writes when it uses reftable, a newer format git can use to store branch and tag references:

  • tables.list
  • files ending in .ref
  • files ending in .log

These are only removed after Claude Code checks that each file is the one it expects. On macOS, when Claude Code opens a file inside a folder it is holding open, it now also confirms that the file it opened is the same one the folder listing named.

Why

Repositories that use reftable should no longer have stray reference files left behind after a worktree is cleaned up.

See this entry in the whole of v2.1.299 →

Feedback