Merge "Translations: Ignore Generated-By changes"

This commit is contained in:
Jenkins 2015-09-26 14:22:53 +00:00 committed by Gerrit Code Review
commit 18471b569f

View File

@ -275,7 +275,7 @@ function filter_commits {
for f in $(git diff --cached --name-only --diff-filter=AM); do
# It's ok if the grep fails
set +e
REGEX="(POT-Creation-Date|Project-Id-Version|PO-Revision-Date|Last-Translator|X-Generator)"
REGEX="(POT-Creation-Date|Project-Id-Version|PO-Revision-Date|Last-Translator|X-Generator|Generated-By)"
changed=$(git diff --cached "$f" \
| egrep -v "$REGEX" \
| egrep -c "^([-+][^-+#])")