Thread (7 messages) flat view 7 messages, 3 authors, 2017-07-11

Re: Why doesn't merge fail if message has only sign-off?

From: Junio C Hamano <hidden>
Date: 2017-07-03 17:21:45

Possibly related (same subject, not in this thread)

Kaartic Sivaraam [off-list ref] writes:
While trying to merge a branch using "git merge" if a merge
message consists only of a "Sign-off" line it doesn't fail.
To be consistent with the behaviour of "git commit" shouldn't the merge
fail?
I think that it is not by design that it doesn't fail.  It's not
like we decided to allow s-o-b only merge because we found a reason
why it is a good idea to do so.

So I do not think anybody minds too deeply if somebody came up a
patch to "fix" it.  It's just that nobody tried to create such a
silly merge in real life so far (I do not think you did, either--you
found this out by playing around trying to find corner cases, no?)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help