[RFC PATCH 0/2] Support --verbose in git history
- From
- Jelle van der Waa <jelle@vdwaa.nl>
- Date
- Nov 7, 2026, 19:30 UTC
- Message-ID
- <20261107193020.583215-1-jelle@vdwaa.nl>
The new git history subcommands like reword do not support showing the full git diff when editing the git commit message. This RFC adds support for git history reword behave similiar to git commit --amend --verbose except I choose to leave out support the "commit.verbose" configuration option. Other git history subcommands like split, squash and fixup could also support --verbose under some circumstances (without --no-edit for fixup or only with --reedit-message for fixup)
I would be happy to work start with landing support for --verbose for git history reword, ideally with it also supporting the "commit.verbose" configuration option. Further patches could then add support for other subcommands where it makes sense.
Jelle van der Waa (2): history: drop redundant strbuf_stripspace() history: add --verbose option for reword
Documentation/git-history.adoc | 11 +++- builtin/history.c | 61 ++++++++++++++++++--- t/t3451-history-reword.sh | 97 ++++++++++++++++++++++++++++++++++ 3 files changed, 160 insertions(+), 9 deletions(-)
-- 2.56.0