Re: [PATCH v2/RFC] commit: change the meaning of an empty commit message
- From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
- Date
- Aug 31, 2017, 13:36 UTC
- Message-ID
- <1504186577.1826.9.camel@gmail.com>
- In-Reply-To
- <xmqqo9r4vhv0.fsf@gitster.mtv.corp.google.com>
On Thu, 2017-08-24 at 13:19 -0700, Junio C Hamano wrote:
Show 5 quoted lines
> > The latter is easier for me as we do not have to worry about > breaking people's scripts and tools used in > their established workflows at all. >
In that case, how about doing something similar to what was done to 'set-upstream' option of branch? We could print a warning notice when the commit message is found to be empty due to the presence of a sign- off line. As usual we could stop warning and stop identifying log messages consisting only signed-off lines as empty after a few years of doing that.
Note: I have no idea how good an idea this is. Let me know if it's a bad one.
-- Kaartic