projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9368b8
)
Try to allow staged and non-staged i18n updates.
author
Carl Hetherington
<cth@carlh.net>
Thu, 7 Sep 2023 12:37:27 +0000
(14:37 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 7 Sep 2023 12:37:27 +0000
(14:37 +0200)
hacks/i18nup
patch
|
blob
|
history
diff --git
a/hacks/i18nup
b/hacks/i18nup
index 1bc679ce50154e8e9a48bf9f32f32a1a102b3814..1942b45313f9c84f1101d7c32c5d1471da380f5c 100644
(file)
--- a/
hacks/i18nup
+++ b/
hacks/i18nup
@@
-1,5
+1,5
@@
#!/bin/bash
-changes=`git status -s | grep "^
M"`
+changes=`git status -s | grep "^
.*
M"`
check=`echo "$changes" | grep -v /po/`
if [ "$check" != "" ]; then
echo "Non i18n updates would be committed"