git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Patrick Steinhardt
Message 7 of 7 in “repack: add config to skip updating server info”
  1. repack: add config to skip updating server infoPatrick Steinhardt, Mar 11, 2022
  2. Taylor BlauMar 11, 2022
  3. Patrick SteinhardtMar 14, 2022
  4. 0/2 repack: add config to skip updating server infoPatrick Steinhardt, Mar 14, 2022
  5. 1/2 repack: refactor to avoid double-negation of update-server-infoPatrick Steinhardt, Mar 14, 2022
  6. 2/2 repack: add config to skip updating server infoPatrick Steinhardt, Mar 14, 2022
  7. Junio C HamanoMar 14, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.