diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-03-13 19:13:13 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-03-16 14:06:35 +0300 |
commit | 75f23507af40aed4739571e1caa38ca46cd1e0ba (patch) | |
tree | ab085d0af31df6912b6cf5b08b4b8b1fac129c21 /cmd | |
parent | a95cf2d3a0dd0a5c835f39735f6aab4e13b410c4 (diff) |
ssh: upload_pack: Wire up UploadPackFilter feature flag
While the HTTP upload_pack service already honors the UploadPackFilter
feature flag to enable partial clones, the SSH sibling doesn't. As a
result, partial clones are unsupported via SSH even if the feature flag
is enabled.
Fix the gap between both services by passing both uploadpack.allowFilter and
uploadpack.allowanySHA1InWant to git-upload-pack(1), same as for the
HTTP service. Add a test to verify partial clones work as expected.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions