We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34d2ec7 commit 06403beCopy full SHA for 06403be
scripts/commit.sh
@@ -19,8 +19,8 @@ set -u
19
# Set for removal the deleted obsolete PO files
20
git status -s | grep '^ D ' | cut -d' ' -f3 | xargs -r git rm
21
22
-# Add only updates that do not consist only of 'POT-Creation-Date' header change
23
-git diff -I'^"POT-Creation-Date: ' -I'^"Language: pt_BR' --numstat *.po **/*.po | cut -f3 | xargs -r git add -v
+# Add only updates that do not consist only of the following header lines
+git diff -I'^# Copyright ' -I'^"Project-Id-Version: ' -I'^"POT-Creation-Date: ' -I'^"Language: ' --numstat *.po **/*.po | cut -f3 | xargs -r git add -v
24
25
# Add currently untracked PO files, and update other helper files
26
untracked_files=$(git ls-files -o --exclude-standard *.po **/*.po)
0 commit comments