]> git.ipfire.org Git - thirdparty/git.git/commitdiff
docs: improve changelog entry for `git pack-refs --auto`
authorPatrick Steinhardt <ps@pks.im>
Mon, 22 Apr 2024 06:35:06 +0000 (08:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2024 15:54:01 +0000 (08:54 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/RelNotes/2.45.0.txt

index 384586644074fd0ac9e23d60c2fbb7d19782f0e0..0b122099f9384a6fa3a36378fa6b2661ed92605e 100644 (file)
@@ -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