From aa99ab096ca57765c0e72c0ea296450ce2079c58 Mon Sep 17 00:00:00 2001 From: ♪ I'm a bot, bot, bot ♪ <_update_docs_trans@sundries01.phx2.fedoraproject.org> Date: Jan 03 2021 21:50:46 +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