Skip to content

Pull only the blobs the dev checkout needs - #15426

Merged
dhh merged 1 commit into
quattrofrom
blobless-dev-pull
Oct 14, 2026
Merged

dhh merged 1 commit into
quattrofrom
blobless-dev-pull

Conversation

@dhh

@dhh dhh commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

New dev checkouts are cloned with `--filter=blob:none`, but checkouts cloned before that are full clones, so every `omarchy update` downloaded every blob in the new history, including file contents that were added and later removed.

`omarchy-update-dev` now converts such a checkout once with `git fetch --filter=blob:none ` before pulling. Git saves the filter on the remote (`promisor` + `partialclonefilter`), so that pull, every later pull, and the background fetch in `omarchy-update-available` only bring down history plus the blobs the new checkout needs. The pull itself stays `git pull --ff-only`, keeping its upstream checks and the configured autostash behavior. Checkouts already blobless, and branches tracking a local upstream, go straight to the pull.

🤖 Generated with Claude Code

Full clones made before the blobless clone policy downloaded every blob in
the new history on each update. Convert them once with a filtered fetch so
later pulls fetch only what the checkout needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 985cd60 into quattro Oct 14, 2026
@dhh
dhh deleted the blobless-dev-pull branch October 14, 2026 04:52
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants