cp-po: Avoid pager when running git
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 28 Aug 2017 14:35:38 +0000 (10:35 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 28 Aug 2017 14:35:38 +0000 (10:35 -0400)
cp-po

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