Michael J Gruber [off-list ref] writes:
I think he wants the auto generated message which may be different for
each merge. Maybe something like
GIT_EDITOR=/bin/true git commit
will do the trick.
Use "GIT_EDITOR=:" instead. It also is *true* just like /bin/true, but
git knows a simple magic about this and avoids an extra fork+exec.
A similar trick exists for GIT_PAGER=cat (not "/bin/cat"), by the way.