]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-revert.c
git-revert: Revert revert message to old behaviour
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 23 Mar 2007 16:06:11 +0000 (17:06 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 24 Mar 2007 09:50:22 +0000 (02:50 -0700)
commite43b01058222da3fa0ba9b662f6621709a5981b3
tree78ebc4551ea97c63b29f9a2b5ea99a545c84f133
parentb08bbae7e1676e5a47fa9054e268ff14ee819a3a
git-revert: Revert revert message to old behaviour

When converting from the shell script, based on a misreading of the
sed invocation, the builtin included the abbreviated commit name,
and did _not_ include the quotes around the oneline message.

This fixes it.

[jc: with a fix for the typo/thinko spotted by Linus, and also
 removing the unwanted abbrev at the beginning.]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-revert.c