All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug report: `git revert` on empty commit fails silently
@ 2015-06-18 15:27 Alistair Lynn
  2015-06-19  5:05 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Alistair Lynn @ 2015-06-18 15:27 UTC (permalink / raw)
  To: git

Hello gitters

Steps to reproduce:

$ git commit --allow-empty -m ‘test’
$ git revert HEAD

The latter fails silently, leaving HEAD pointing at the commit created by the first command.

A subsequent `git commit --allow-empty` has the revert message as the default commit message when starting the editor.

Hope this is the right place for bugs.

Alistair

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

end of thread, other threads:[~2015-06-19  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18 15:27 Bug report: `git revert` on empty commit fails silently Alistair Lynn
2015-06-19  5:05 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.