Skip to content

Commit 06403be

Browse files
authored
Add more header exceptions to commit.sh (#262)
Reduce noise in commits
1 parent 34d2ec7 commit 06403be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/commit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ set -u
1919
# Set for removal the deleted obsolete PO files
2020
git status -s | grep '^ D ' | cut -d' ' -f3 | xargs -r git rm
2121

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
22+
# Add only updates that do not consist only of the following header lines
23+
git diff -I'^# Copyright ' -I'^"Project-Id-Version: ' -I'^"POT-Creation-Date: ' -I'^"Language: ' --numstat *.po **/*.po | cut -f3 | xargs -r git add -v
2424

2525
# Add currently untracked PO files, and update other helper files
2626
untracked_files=$(git ls-files -o --exclude-standard *.po **/*.po)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy