]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: fix statement about rebase.instructionFormat
authorMaarten van der Schrieck <maarten@thingsconnected.nl>
Wed, 3 Jan 2024 18:14:23 +0000 (18:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Jan 2024 19:21:15 +0000 (11:21 -0800)
Since commit 62db5247 (rebase -i: generate the script via
rebase--helper, 2017-07-14), the short hash is given in
rebase-todo. Specifying rebase.instructionFormat does not alter this
behavior, contrary to what the documentation implies.

Signed-off-by: Maarten van der Schrieck <maarten@thingsconnected.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/rebase.txt
Documentation/git-rebase.txt

index f19bd0e04079051d6be21ee461d1a98c9a632629..2f48bef4bf310b221490a07bfeb41913e0c4aee9 100644 (file)
@@ -38,7 +38,7 @@ rebase.missingCommitsCheck::
 rebase.instructionFormat::
        A format string, as specified in linkgit:git-log[1], to be used for the
        todo list during an interactive rebase.  The format will
-       automatically have the long commit hash prepended to the format.
+       automatically have the commit hash prepended to the format.
 
 rebase.abbreviateCommands::
        If set to true, `git rebase` will use abbreviated command names in the
index 9a295bcee45f4f817c5b319789a32beb22e5f07c..01b2ab57f514e3c8192016c56f7809be949f168c 100644 (file)
@@ -523,7 +523,7 @@ See also INCOMPATIBLE OPTIONS below.
 +
 The commit list format can be changed by setting the configuration option
 rebase.instructionFormat.  A customized instruction format will automatically
-have the long commit hash prepended to the format.
+have the commit hash prepended to the format.
 +
 See also INCOMPATIBLE OPTIONS below.