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

Re: [PATCH 1/2] gc docs: change --keep-base-pack to --keep-largest-pack

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 21, 2020, 19:43 UTC
Message-ID
<xmqqtutisdfk.fsf@gitster.c.googlers.com>
In-Reply-To
<20201120115522.23617-1-avarab@gmail.com>
Ævar Arnfjörð Bjarmason  <avarab@gmail.com> writes:
> The --keep-base-pack option never existed in git.git. It was the name
> for the --keep-largest-pack option in earlier revisions of that series
> before it landed as ae4e89e549 ("gc: add --keep-largest-pack option",
> 2018-04-15).

Is it a sign that this hasn't been used by or useful to our users that this documentation bug did not get noticed by anybody for the past 30 months, I wonder.

"git gc -h" does report the option with correct name, which is the beauty of automation ;-)

Thanks, both. Will queue, together with [2/2] which also makes sense.

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 5 in “gc docs: git gc --keep-base-pack ?”
  1. Luc Van OostenryckAug 6, 2020
  2. 1/2 gc docs: change --keep-base-pack to --keep-largest-packÆvar Arnfjörð Bjarmason, Nov 20, 2020
  3. Junio C HamanoNov 21, 2020
  4. Ævar Arnfjörð BjarmasonNov 23, 2020
  5. 2/2 gc: rename keep_base_pack variable for --keep-largest-packÆvar Arnfjörð Bjarmason, Nov 20, 2020

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.