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

[PATCH 1/2] docs: improve changelog entry for `git pack-refs --auto`

From
Patrick Steinhardt <ps@pks.im>
Date
Apr 22, 2024, 06:35 UTC
Message-ID
<2f8c2d54d73cd53f6d310513fe5aeed05a5b7a4f.1713767605.git.ps@pks.im>
In-Reply-To
<cover.1713767605.git.ps@pks.im>

The changelog entry for the new `git pack-refs --auto` mode only says that the new flag is useful, but doesn't really say what it does. Add some more information.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
 Documentation/RelNotes/2.45.0.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/RelNotes/2.45.0.txt b/Documentation/RelNotes/2.45.0.txt
index 0570dcd877..0fc29bc3ad 100644
--- a/Documentation/RelNotes/2.45.0.txt
+++ b/Documentation/RelNotes/2.45.0.txt
@@ -77,8 +77,10 @@ UI, Workflows & Features
    skip showing the hunk immediately after it has already been shown, and
    an additional action to explicitly ask to reshow the current hunk.
 
- * "git pack-refs" learned the "--auto" option, which is a useful
-   addition to be triggered from "git gc --auto".
+ * "git pack-refs" learned the "--auto" option, which defers the decision of
+   whether and how to pack to the ref backend. This is used by the reftable
+   backend to avoid repacking of an already-optimal ref database. The new mode
+   is triggered from "git gc --auto".
 
  * "git add -u <pathspec>" and "git commit [-i] <pathspec>" did not
    diagnose a pathspec element that did not match any files in certain
-- 
2.45.0-rc0
Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 2 of 4 in “docs: improvements for Git v2.45 changelog”
  1. 0/2 docs: improvements for Git v2.45 changelogPatrick Steinhardt, Apr 22, 2024
  2. 1/2 docs: improve changelog entry for `git pack-refs --auto`Patrick Steinhardt, Apr 22, 2024
  3. 2/2 docs: address typos in Git v2.45 changelogPatrick Steinhardt, Apr 22, 2024
  4. Junio C HamanoApr 22, 2024

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.