summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-28 09:43:37 -0600
committerSimon Glass <sjg@chromium.org>2014-09-05 13:40:42 -0600
commit9447a6b2f6c4bab325cd6b52df82b099664f80c5 (patch)
tree1161acdfb45142b7a55fa7c25c00ceb0c36c169d /tools
parent7428dc14b0f26f0f87a0f16370d39fd932af8464 (diff)
downloadu-boot-imx-9447a6b2f6c4bab325cd6b52df82b099664f80c5.zip
u-boot-imx-9447a6b2f6c4bab325cd6b52df82b099664f80c5.tar.gz
u-boot-imx-9447a6b2f6c4bab325cd6b52df82b099664f80c5.tar.bz2
patman: Use --no-pager' to stop git from forking a pager
In a headless environment the pager can apparently hang. We don't want a pager anyway so let's request that none be used. Reported-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/gitutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py
index 45276e6..fbd170f 100644
--- a/tools/patman/gitutil.py
+++ b/tools/patman/gitutil.py
@@ -33,7 +33,7 @@ def LogCmd(commit_range, git_dir=None, oneline=False, reverse=False,
cmd = ['git']
if git_dir:
cmd += ['--git-dir', git_dir]
- cmd += ['log', '--no-color']
+ cmd += ['--no-pager', 'log', '--no-color']
if oneline:
cmd.append('--oneline')
if use_no_decorate: