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
client: Ensure thin_packs parameter is honored with git protocol v2 (#1530)
When hacking on the Software Heritage git loader, I noticed it was no
longer possible to request fetching a thin pack file using latest
dulwich release.
After a git bisect session, I identified the regression was due to the
recent support of git protocol v2 by dulwich that is now used by default
when fetching a pack file (2b975ec).
After some research on the subject, it turns out that with git protocol
v2, requesting a thin pack must be done through an argument to the
[fetch command](https://git-scm.com/docs/protocol-v2#_fetch) sent to the
git server.
I can confirm that thin-pack feature with git protocol v2 works as
expected after these small changes .
0 commit comments