Bug report: `git revert` on empty commit fails silently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]