Skip to content

Commit e7e03f6

Browse files
authored
Exclude Language header field from git add
1 parent d8d9d62 commit e7e03f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/commit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set -u
2020
git status -s | grep '^ D ' | cut -d' ' -f3 | xargs -r git rm
2121

2222
# Add only updates that do not consist only of 'POT-Creation-Date' header change
23-
git diff -I'^"POT-Creation-Date: ' --numstat *.po **/*.po | cut -f3 | xargs -r git add -v
23+
git diff -I'^"POT-Creation-Date: ' -I'^"Language: pt_BR' --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