From: Patrick Steinhardt Date: Mon, 22 Apr 2024 06:35:06 +0000 (+0200) Subject: docs: improve changelog entry for `git pack-refs --auto` X-Git-Tag: v2.45.0-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbeb79789c1e817d9a2f395197121b6ebadf5fba;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/RelNotes/2.45.0.txt b/Documentation/RelNotes/2.45.0.txt index 3845866440..0b122099f9 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 " and "git commit [-i] " did not diagnose a pathspec element that did not match any files in certain