METRON-1439 Turn off git pager in platform-info script (justinleet) closes 
apache/metron#919


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/567d106b
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/567d106b
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/567d106b

Branch: refs/heads/feature/METRON-1344-test-infrastructure
Commit: 567d106b1fbe86e828f3c4068024df42b2f4ddc0
Parents: 124becd
Author: justinleet <justinjl...@gmail.com>
Authored: Thu Feb 1 13:46:55 2018 -0500
Committer: leet <l...@apache.org>
Committed: Thu Feb 1 13:46:55 2018 -0500

----------------------------------------------------------------------
 metron-deployment/scripts/platform-info.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/567d106b/metron-deployment/scripts/platform-info.sh
----------------------------------------------------------------------
diff --git a/metron-deployment/scripts/platform-info.sh 
b/metron-deployment/scripts/platform-info.sh
index 98e0bcf..fd2248a 100755
--- a/metron-deployment/scripts/platform-info.sh
+++ b/metron-deployment/scripts/platform-info.sh
@@ -36,11 +36,11 @@ if [ "$IS_GIT_REPO" == "true" ]; then
 
   # last commit
   echo "--"
-  git log -n 1
+  git --no-pager log -n 1
 
   # local changes since last commit
   echo "--"
-  git diff --stat
+  git --no-pager diff --stat
 fi
 
 # ansible

Reply via email to