Re: [PATCH v2 2/2] repack: add config to skip updating server info
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 14, 2022, 22:26 UTC
- Message-ID
- <xmqq5yognpaw.fsf@gitster.g>
- In-Reply-To
- <f8639116d2d384a6d285c75830c52d8a8230ae6b.1647243509.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 10 quoted lines
> 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.
Makes sense. Perhaps we can leave a NEEDSWORK comment somewhere to flip the default to false in two years or so.
Will queue.
Thanks.