From: Simon Glass Date: Thu, 28 Aug 2014 15:43:37 +0000 (-0600) Subject: patman: Use --no-pager' to stop git from forking a pager X-Git-Tag: v2014.10-rc3~128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9447a6b2f6c4bab325cd6b52df82b099664f80c5;p=u-boot 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 Signed-off-by: Simon Glass --- diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py index 45276e6039..fbd170f178 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: