docs: improve changelog entry for `git pack-refs --auto`
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>
Patrick Steinhardt committed
Apr 22, 2024 at 08:35 UTC
bbeb79789c1e817d9a2f395197121b6ebadf5fba
1 file changed
+4
-2
Documentation/RelNotes/2.45.0.txt
+4
-2
@@ -77,8 +77,10 @@ UI, Workflows & Features
77
skip showing the hunk immediately after it has already been shown, and
78
an additional action to explicitly ask to reshow the current hunk.
79
80
- * "git pack-refs" learned the "--auto" option, which is a useful
81
- addition to be triggered from "git gc --auto".
80
+ * "git pack-refs" learned the "--auto" option, which defers the decision of
81
+ whether and how to pack to the ref backend. This is used by the reftable
82
+ backend to avoid repacking of an already-optimal ref database. The new mode
83
+ is triggered from "git gc --auto".
84
85
* "git add -u <pathspec>" and "git commit [-i] <pathspec>" did not
86
diagnose a pathspec element that did not match any files in certain