Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: auto commit merge using the default merge message

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:46:38

Junio C Hamano venit, vidit, dixit 23.04.2009 10:32:
Michael J Gruber [off-list ref] writes:
quoted
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.
Good to know!
A similar trick exists for GIT_PAGER=cat (not "/bin/cat"), by the
way.
So, GIT_PAGER=cat differs from GIT_PAGER=/bin/cat even when `which
cat`==/bin/cat?

Michael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help