Code

Fix grammatical error in git-revert
authorJunio C Hamano <junkio@cox.net>
Thu, 13 Jul 2006 05:51:25 +0000 (22:51 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 13 Jul 2006 05:51:25 +0000 (22:51 -0700)
We always talk about "commit xyz".

We never talk about "xyz commit", except when we end up talking
about a commit as a branch head (notably, I would say "the HEAD
commit", or possibly "the top-of-master commit", but here
$commit is a SHA1 name, not anything else).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-revert.sh

index de8b5f0f0fbb42e82327670e6916382f6f2d3e47..2bf35d116c2141a1750a0ca0bd8f7297e0c237b6 100755 (executable)
@@ -84,7 +84,7 @@ revert)
                s/^[^ ]* /Revert "/
                s/$/"/'
        echo
-       echo "This reverts $commit commit."
+       echo "This reverts commit $commit."
        test "$rev" = "$commit" ||
        echo "(original 'git revert' arguments: $@)"
        base=$commit next=$prev