Skip to content

Add GitConfigOptions to PostUploadPack

Nick Thomas requested to merge (removed):add-git-config-options-smarthttp into master

Required for https://gitlab.com/gitlab-org/gitlab-ee/issues/3341

Geo needs to be able to see all refs when it clones from the primary. Originally this was happening over SSH, with manually set up authentication. We are looking at switching to HTTPS cloning, using the JWT tokens for authentication. To do that, workhorse and gitaly will need to support show-all-refs.

Before this change SSHUploadPack had the git_config_options parameter but PostUploadPack didn't. This change gives PostUploadPack the same capability.

Edited by Jacob Vosmaer

Merge request reports