#5320 Support blobless checkouts
Closed: Won't Fix by wombelix. Opened by mikem.

You can read more about blobless checkouts here:

  • https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/#user-content-partial-clone
  • https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---filterltfilter-specgt
  • https://about.gitlab.com/blog/2020/03/13/partial-clone-for-massive-repositories/

This can be a tremendous time saver for larger repos.

Enabling this may be as easy as setting uploadpack.allowFilter=true in the global git config on the server.


Currently, when I try this with a pagure.io repo, I get:

warning: filtering not recognized by server, ignoring

That's something libgit2/pygit2 needs to support. I don't think libgit2 has support for it.

Should be this upstream PR https://github.com/libgit2/libgit2/issues/5564 and it doesn't look like that this is going to happen anytime soon. So I close this ticket for now, as Neal said, we rely on libgit2 so if it's one day available there, we can talk about it in pagure again.

Metadata Update from @wombelix:
- Issue close_status updated to: Won't Fix
- Issue status updated to: Closed (was: Open)

Metadata