Add more header exceptions to commit.sh (#262) · python/python-docs-pt-br@06403be · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
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)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.