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

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: abort commit if merged log messages are left as-is
To:
gameoftrees@openbsd.org
Date:
Thu, 9 Feb 2023 22:03:37 +0100

Download raw body.

Thread
Stefan Sperling:

> > Oh, the log message must be actually modified?  Can't you just
> > compare mtime before/after,
> 
> There would be no way to reverse your decision to commit once the
> timestamp has been changed. But I guess that is fine.

The commit is aborted if
* the time stamp of the log message hasn't changed, or
* the log message is empty.

Is that practical?

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