Repository navigation
Pull only the blobs the dev checkout needs - #15426
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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