diff --git a/hooks/pre-commit b/hooks/pre-commit index c0ff5d174b..007f273e98 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -7,4 +7,5 @@ set -o pipefail # Redirect output to stderr. exec 1>&2 -fdroid lint -f + +fdroid lint -f $(git diff --cached --name-only --diff-filter=ACM | sed -n 's@metadata/\(.*\).txt@\1@p')