Skip to contentSkip to conversation

Documentation: fix statement about rebase.instructionFormat

PATCH In review Maarten van der Schrieck via GitGitGadget 2 participants 2 messages Jan 3, 2024 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: fix statement about rebase.instructionFormat

From: Maarten van der Schrieck <[email protected]>

Since commit 62db5247790f2612c0b407a15d1901d88789d35a "rebase -i: generate the script via rebase--helper" (Jul 14 2017), the short hash is given in rebase-todo. Specifying rebase.instructionFormat does not alter this behavior, contrary to what the documentation implies.

---
Documentation: fix statement about rebase.instructionFormat

Since commit 62db5247790f2612c0b407a15d1901d88789d35a "rebase -i:
generate the script via rebase--helper" (Jul 14 2017), the short hash is given in rebase-todo. Specifying rebase.instructionFormat does not alter this behavior, contrary to what the documentation implies.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1629%2Fthingsconnected%2Fpullreq1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1629/thingsconnected/pullreq1-v1
Pull-Request: https://github.com/git/git/pull/1629

 Documentation/config/rebase.txt | 2 +-
 Documentation/git-rebase.txt    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/config/rebase.txt +1 -1
index d59576dbb23..c6187ab28b2 100644
@@ -40,7 +40,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
Documentation/git-rebase.txt +1 -1
index 1dd6555f66b..25516c45d8b 100644
@@ -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.
 

base-commit: 055bb6e9969085777b7fab83e3fee0017654f134

Signature · 1 line
gitgitgadget
#1 lore raw

"Maarten van der Schrieck via GitGitGadget" <[email protected]>

Quoted 9 lines · writes:

From: Maarten van der Schrieck <[email protected]>

Since commit 62db5247790f2612c0b407a15d1901d88789d35a "rebase -i: generate the script via rebase--helper" (Jul 14 2017), the short hash is given in rebase-todo. Specifying rebase.instructionFormat does not alter this behavior, contrary to what the documentation implies.

---

Looks good. Will queue. Thanks.

Quoted 43 lines

Documentation: fix statement about rebase.instructionFormat

Since commit 62db5247790f2612c0b407a15d1901d88789d35a "rebase -i:
generate the script via rebase--helper" (Jul 14 2017), the short hash is given in rebase-todo. Specifying rebase.instructionFormat does not alter this behavior, contrary to what the documentation implies.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1629%2Fthingsconnected%2Fpullreq1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1629/thingsconnected/pullreq1-v1
Pull-Request: https://github.com/git/git/pull/1629

 Documentation/config/rebase.txt | 2 +-
 Documentation/git-rebase.txt    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/config/rebase.txt +1 -1
index d59576dbb23..c6187ab28b2 100644
@@ -40,7 +40,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
Documentation/git-rebase.txt +1 -1
index 1dd6555f66b..25516c45d8b 100644
@@ -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.
 

base-commit: 055bb6e9969085777b7fab83e3fee0017654f134