You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: filters and partial cloning: initial support
Introduce `gix::remote::fetch::ObjectFilter` (currently blob filters only)
and plumb it through clone/fetch all the way into the fetch protocol,
returning a clear error if the remote doesn’t advertise `filter` capability.
Also persist the partial-clone configuration on clone
(`remote.<name>.partialclonefilter`, `remote.<name>.promisor`,
`extensions.partialclone`) so the repository is marked as a
promisor/partial clone in the same way as Git.
On the CLI/plumbing side, add `--filter <spec>` to `gix clone`, and allow
fetch arguments to be either refspecs or raw object IDs
(treated as additional wants).
Includes tests for filter parsing and for persisting partial-clone settings during clone.
Credit:
- Original work by Cameron Esfahani <cesfahani@roku.com>
- Rewritten for modern Gitoxide by Jake Staehle <jstaehle@roku.com>
[Upstream-Status: Appropriate for OSS Release]
0 commit comments