Commit 9447a6b2 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarTom Rini <trini@ti.com>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 7428dc14
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment