From 8e59699424f4870e4ad77542b0e37eca696a18a3 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Sat, 3 Dec 2011 16:42:04 -0500 Subject: [ticket/10093] Use correct ANSI code for clearing color. PHPBB3-10093 --- git-tools/hooks/commit-msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-tools') 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 "$@" -- cgit v1.2.3-65-gdbad