Use hideRefs of Git
We have number of refs that are send with info/refs
, we can greatly optimise that by using a newly introduced option: transfer.hideRefs
: https://github.com/git/git/commit/cc118a65b4590cc2d669679260bad7ca627f2a30
This will allows us to remove refs/keep-around
, refs/tmp
from refs advertisement, thus allowing us to greatly reduce the info/refs
size which is now 2.4MB for gitlab-ce.
This will improve this things described in this issue: https://gitlab.com/gitlab-com/infrastructure/issues/697