You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by to...@apache.org on 2017/06/15 17:01:58 UTC
kudu git commit: site_tool: don't use check_call for git show
Repository: kudu
Updated Branches:
refs/heads/gh-pages e04d3b772 -> 6158de4b7
site_tool: don't use check_call for git show
When running 'git show', if the user exits using 'q' before reading the
whole stat output, it returns a non-zero exit code. That shouldn't cause
us to abort the operation.
Change-Id: I2b663786c72911c2735c94ea703f5d66db430ea0
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/6158de4b
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/6158de4b
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/6158de4b
Branch: refs/heads/gh-pages
Commit: 6158de4b7ac2be6d20cec932d1c0fae587a0a51c
Parents: e04d3b7
Author: Todd Lipcon <to...@cloudera.com>
Authored: Thu Jun 15 10:00:48 2017 -0700
Committer: Todd Lipcon <to...@cloudera.com>
Committed: Thu Jun 15 10:00:48 2017 -0700
----------------------------------------------------------------------
site_tool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/6158de4b/site_tool
----------------------------------------------------------------------
diff --git a/site_tool b/site_tool
index 2cae9ed..18bb2ba 100755
--- a/site_tool
+++ b/site_tool
@@ -235,7 +235,7 @@ def publish(args):
subprocess.check_call(["git", "commit", "-a", "-m", commit_msg])
print "Success!"
- subprocess.check_call(["git", "show", "--stat"])
+ subprocess.call(["git", "show", "--stat"])
print
print "To push:"
print " cd %s && git push" % PUBLISH_DIR