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 <>
Signed-off-by: default avatarSimon Glass <>
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:
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