aboutsummaryrefslogtreecommitdiffstats
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
parent88cad5523e7cdac6826dd8581e27e22a65afda26 (diff)
downloadforums-8e59699424f4870e4ad77542b0e37eca696a18a3.tar
forums-8e59699424f4870e4ad77542b0e37eca696a18a3.tar.gz
forums-8e59699424f4870e4ad77542b0e37eca696a18a3.tar.bz2
forums-8e59699424f4870e4ad77542b0e37eca696a18a3.tar.xz
forums-8e59699424f4870e4ad77542b0e37eca696a18a3.zip
[ticket/10093] Use correct ANSI code for clearing color.
PHPBB3-10093
-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 "$@"