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>
master
Simon Glass 10 years ago
parent 7428dc14b0
commit 9447a6b2f6
  1. 2
      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:

Loading…
Cancel
Save