diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-28 09:43:37 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-09-05 13:40:42 -0600 |
commit | 9447a6b2f6c4bab325cd6b52df82b099664f80c5 (patch) | |
tree | 1161acdfb45142b7a55fa7c25c00ceb0c36c169d /tools/patman | |
parent | 7428dc14b0f26f0f87a0f16370d39fd932af8464 (diff) | |
download | talos-obmc-uboot-9447a6b2f6c4bab325cd6b52df82b099664f80c5.tar.gz talos-obmc-uboot-9447a6b2f6c4bab325cd6b52df82b099664f80c5.zip |
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>
Diffstat (limited to 'tools/patman')
-rw-r--r-- | tools/patman/gitutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |