Thread (17 messages) flat view 17 messages, 4 authors, 2023-08-23

Re: [PATCH v2] sequencer: beautify subject of reverts of reverts

From: Phillip Wood <hidden>
Date: 2023-05-18 09:58:34

On 17/05/2023 18:02, Oswald Buddenhagen wrote:
On Wed, May 17, 2023 at 12:20:03PM +0100, Phillip Wood wrote:
quoted
I'm saying that reverting a commit with a subject line

    Revert "Revert "Revert some subject""

should result in the new commit having the subject

    Revert "Revert "Revert "Revert some subject"""

(i.e. at that point we stop trying to be clever) rather than

    Revert "Reapply "Revert some subject""
right.
how about filing that under GIGO and extending the comment?
i mean, when you actually run into this situation, you should be 
re-thinking your life choices rather than stressing about git producing 
a somewhat suboptimal commit message template ...
Given that it is simple to handle this case and Junio is expecting a 
re-roll of this topic[1] then I think it would be worth just adding 
those three lines.

Best Wishes

Phillip

[1] https://lore.kernel.org/git/xmqqa5y3ssss.fsf@gitster.g/ (local)
regards,
ossi
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help