From d346d5b4a7209565520c93753854110413e7561f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Jan 02 2021 07:29:51 +0000 Subject: automatic update of pot/po files --- diff --git a/.githooks/pre-commit b/.githooks/pre-commit index ad38d47..d966790 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -24,7 +24,6 @@ for staged in $(git diff --name-only --cached --diff-filter=d); do countDateRem=$(grep -E --count '^[-]"POT-Creation-Date:' "$output") if [ "$countChanges" -eq $(("$countDateAdd" + "$countDateRem")) ] ; then - echo "the file $staged only contains POT-Creation-Date" git reset -q HEAD "$staged" fi fi