summaryrefslogtreecommitdiff
path: root/pack-revindex.h
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2022-03-14 08:42:51 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-14 22:25:13 +0000
commita2565c48e410864c049e66a64393fd6e26eb9a55 (patch)
treea0f0f3d13bc97b60d63ca4b02298ce9ff8aaad6f /pack-revindex.h
parentrepack: refactor to avoid double-negation of update-server-info (diff)
downloadtgif-a2565c48e410864c049e66a64393fd6e26eb9a55.tar.xz
repack: add config to skip updating server info
By default, git-repack(1) will update server info that is required by the dumb HTTP transport. This can be skipped by passing the `-n` flag, but what we're noticably missing is a config option to permanently disable updating this information. Add a new option "repack.updateServerInfo" which can be used to disable the logic. Most hosting providers have turned off the dumb HTTP protocol anyway, and on the client-side it woudln't typically be useful either. Giving a persistent way to disable this feature thus makes quite some sense to avoid wasting compute cycles and storage. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-revindex.h')
0 files changed, 0 insertions, 0 deletions