Before Claude Code offers file sync for a checkout, it measures the checkout to see whether it is small enough to sync. That measurement now handles a starting point called "created_empty". In that case, Claude Code measures how many bytes the git history takes up and compares that with a limit on the first upload. History that git has repacked, meaning compressed and reorganised, is counted at 1.2 times its size.
Other changes:
- The measurement accepts new options:
monorepo,firstUploadMaxBytesandhistoryWalkBudgetMs. - The check for untracked files being too large now runs before the check for tracked files being too large. Untracked files are files git is not recording.
When a checkout does not qualify, Claude Code shows a message starting "File sync is not offered for this checkout:".
This changes which repositories are offered file sync in cloud sessions. Because untracked files are now checked first, a checkout that is too large in both ways may be refused for its untracked files.
It is not clear when the "created_empty" starting point is used or what the first-upload limit is.