git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Commit with an empty message broken since v1.8.2.1
@ 2013-05-25 19:12 Mislav Marohnić
  2013-05-25 21:43 ` [PATCH] commit: don't start editor if empty message is given with -m René Scharfe
  2013-05-27 14:03 ` [PATCH] commit: don't use-editor when allow-empty-message Ramkumar Ramachandra
  0 siblings, 2 replies; 7+ messages in thread
From: Mislav Marohnić @ 2013-05-25 19:12 UTC (permalink / raw)
  To: git; +Cc: Brandon Casey, Jonathan Nieder

Commit a24a41ea9a928ccde2db074ab0835c4817223c9d introduces a bug which is still present in latest master.

This command 

    git commit -m "" --allow-empty --allow-empty-message

should create an empty commit with an empty message and never open a text editor for the commit message. Since the change, the editor is always opened.

My current workaround to skip the editor is setting the environment variable:

    GIT_EDITOR=true

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-27 17:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-25 19:12 Commit with an empty message broken since v1.8.2.1 Mislav Marohnić
2013-05-25 21:43 ` [PATCH] commit: don't start editor if empty message is given with -m René Scharfe
2013-05-27 14:03 ` [PATCH] commit: don't use-editor when allow-empty-message Ramkumar Ramachandra
2013-05-27 14:07   ` Ramkumar Ramachandra
2013-05-27 14:20   ` [PATCH v2] " Ramkumar Ramachandra
2013-05-27 14:53     ` Antoine Pelisse
2013-05-27 17:57       ` Ramkumar Ramachandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).