mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-12 22:33:27 +08:00
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>
This commit is contained in:
parent
7428dc14b0
commit
9447a6b2f6
@ -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…
Reference in New Issue
Block a user