aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-12-03 16:42:04 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2011-12-03 16:43:13 -0500
commit8e59699424f4870e4ad77542b0e37eca696a18a3 (patch)
tree532b967a08679f2d321afdde0deec3cebb385312 /git-tools/hooks/commit-msg
parent[ticket/10093] Make commit-msg always not fatal by nuking all fatal logic. (diff)
downloadphpbb-8e59699424f4870e4ad77542b0e37eca696a18a3.tar.gz
phpbb-8e59699424f4870e4ad77542b0e37eca696a18a3.tar.bz2
phpbb-8e59699424f4870e4ad77542b0e37eca696a18a3.zip
[ticket/10093] Use correct ANSI code for clearing color.
PHPBB3-10093
Diffstat (limited to 'git-tools/hooks/commit-msg')
-rwxr-xr-xgit-tools/hooks/commit-msg4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-tools/hooks/commit-msg b/git-tools/hooks/commit-msg
index e5a4c5e60b..52969670ca 100755
--- a/git-tools/hooks/commit-msg
+++ b/git-tools/hooks/commit-msg
@@ -88,11 +88,11 @@ complain()
if [ "$1" = "-n" ]
then
echo "$@"
- printf "\033[10m"
+ printf "\033[0m"
else
# This will print one trailing space.
# Not sure how to avoid this at the moment.
- echo "$@" $(printf "\033[10m")
+ echo "$@" $(printf "\033[0m")
fi
else
echo "$@"