[git-tools] do not display stderr

This commit is contained in:
Igor Wiedler 2010-04-03 21:53:09 +02:00
parent e3ebdbd79b
commit 8091e31666

View file

@ -53,7 +53,7 @@ do
# check the staged file content for syntax errors
# using php -l (lint)
result=$(git cat-file -p $sha | /usr/bin/env $PHP_BIN -l)
result=$(git cat-file -p $sha | /usr/bin/env $PHP_BIN -l 2>/dev/null)
if [ $? -ne 0 ]
then
error=1