author | Linus Torvalds <torvalds@osdl.org> | |
Wed, 23 Nov 2005 17:57:54 +0000 (09:57 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 24 Nov 2005 00:52:52 +0000 (16:52 -0800) | ||
commit | 30c7bb249e9b2038dd05271e055d347f84336576 | |
tree | 9ae87b6e4db2e88f7ac84203d117cb97905e0b92 | tree | snapshot |
parent | 073dab137a746a44606e8e11629e05ff8343346f | commit | diff |
Allow editing of a revert-message
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>
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>
git-revert.sh | diff | blob | history |