From 08de40da17c0f99037e92a5a2899db17d727ccbf Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Jan 02 2021 07:28:35 +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