Revision 30c7bb249e9b2038dd05271e055d347f84336576 authored by Linus Torvalds on 23 November 2005, 17:57:54 UTC, committed by Junio C Hamano on 24 November 2005, 00:52:52 UTC
I think all commit operations should allow editing of the message (ie we
should do this for merges too), but that's _particularly_ true of doing a
"git revert".

We should always explain why we needed to revert something.

This patch adds a "-e" or "--edit" flag to "git revert", although I
actually suspect it should be on by default (and we should have a
"--no-edit" flag to disable it, probably together with an automatic
disable if stdin isn't a terminal).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 073dab1
History
File Mode Size
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 396 bytes
sha1ppc.S -rw-r--r-- 3.6 KB

back to top