From a41d7eac5b10f6b0664ca701b5741433579f443d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Jan 02 2021 07:29:24 +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