git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Feature request: Allow to update commit ID in messages when rebasing
@ 2019-04-17 20:35 Giuseppe Crinò
  2019-04-17 20:56 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 7+ messages in thread
From: Giuseppe Crinò @ 2019-04-17 20:35 UTC (permalink / raw)
  To: git

The feature I'm asking is to add an extra-step during rebasing,
checking whether there's a reference to a commit that's not going to
be included in history and asks the user whether the heuristics is
correct and if she wants to update those references.

Scenario: it can happen for a commit message to contain the ID of an
ancestor commit. A typical example is a commit with the message
"revert 01a9fe8". If 01a9fe8 and the commit that reverts it are
involved in a rebase the message "revert 01a9fe8" is no longer valid
-- the old 01a9fe8 has now a different hash. This will most likely be
ignored by the person who's rebasing but will let the other people
reading history confused.

Giuseppe

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

end of thread, other threads:[~2019-04-19 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17 20:35 Feature request: Allow to update commit ID in messages when rebasing Giuseppe Crinò
2019-04-17 20:56 ` Ævar Arnfjörð Bjarmason
2019-04-18  2:08   ` Junio C Hamano
2019-04-18 17:32     ` Jakub Narebski
2019-04-18 17:58       ` Giuseppe Crinò
2019-04-19 10:44         ` Jakub Narebski
2019-04-18 18:00       ` Phil Hord

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).