"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

Christian Weisgerber <naddy@mips.inka.de>
Re: abort commit if merged log messages are left as-is
Thu, 9 Feb 2023 19:54:00 +0100

Download raw body.

Stefan Sperling:

> -where the messages must be further adjusted to convey the reasons for
> +where the messages should be further adjusted to convey the reasons for
>  cherrypicking the changes.
> +At the very least, comment lines must be removed.
> +Otherwise
> +.Cm got commit
> +will fail with an unmodified log message error.

Oh, the log message must be actually modified?  Can't you just
compare mtime before/after, so for instance :w! in vi would be
enough to convey that the message has been touched even if the file
content stays identical?

Christian "naddy" Weisgerber                          naddy@mips.inka.de