cp-po: Check whitespace before committing
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 15 Aug 2017 14:15:21 +0000 (10:15 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 15 Aug 2017 14:15:21 +0000 (10:15 -0400)
cp-po

diff --git a/cp-po b/cp-po
index 5b569a43e39a7c1fd5e28ba00a6708995df1b445..8c686edd56bdbf61519b29ab1956bd6967436c47 100755 (executable)
--- a/cp-po
+++ b/cp-po
@@ -222,6 +222,7 @@ if $update_target_tree; then
 fi
 
 if $git_mode; then
+       git diff --cached --check
        git commit -m "Translation updates
 
 Source-Git-URL: $remote_url