Git development
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Support --verbose in git history
@ 2026-11-07 19:30 Jelle van der Waa
  2026-11-07 19:30 ` [RFC PATCH 1/2] history: drop redundant strbuf_stripspace() Jelle van der Waa
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Jelle van der Waa @ 2026-11-07 19:30 UTC (permalink / raw)
  To: git
  Cc: Jelle van der Waa, Patrick Steinhardt, Junio C Hamano,
	Phillip Wood, Harald Nordgren, René Scharfe

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-11-11 16:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-07 19:30 [RFC PATCH 0/2] Support --verbose in git history Jelle van der Waa
2026-11-07 19:30 ` [RFC PATCH 1/2] history: drop redundant strbuf_stripspace() Jelle van der Waa
2026-11-07 19:30 ` [RFC PATCH 2/2] history: add --verbose option for reword Jelle van der Waa
2026-11-09 10:17   ` Phillip Wood
2026-11-07 19:49 ` [RFC PATCH 0/2] Support --verbose in git history D. Ben Knoble
2026-11-09 10:18   ` Phillip Wood
2026-11-09 12:06     ` Karthik Nayak
2026-11-09 12:43       ` D. Ben Knoble
2026-11-09 14:14         ` Phillip Wood
2026-11-10 13:13           ` Karthik Nayak
2026-11-10 17:15             ` Ben Knoble
2026-11-11 10:46               ` Patrick Steinhardt
2026-11-11 13:57                 ` Phillip Wood
2026-11-11 14:03                   ` Patrick Steinhardt
2026-11-11 15:39                     ` Ben Knoble
2026-11-11 16:07                       ` Patrick Steinhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox