summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-07 08:31:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-08 23:52:29 +0100
commit784d17608a7449f38c107ebcb22b526ff6eb8142 (patch)
treeb0bd24d6cdc10e68d5ca05b7da246f83db976c33 /bitbake/lib/bb
parent9061e5e0f47ca3be3c5b5804565946a8519e7380 (diff)
downloadpoky-784d17608a7449f38c107ebcb22b526ff6eb8142.tar.gz
bitbake: fetch/git : Use cat as pager
We don't have less in HOSTTOOLS in OE and this can confuse git. Force the pager to cat to be consistent and minimal everywhere. (Bitbake rev: d3d406e8552fdd865dc58b419a84411736475ad2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index bdcfa4978c..23f8c0da8f 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -243,7 +243,7 @@ class Git(FetchMethod):
243 for name in ud.names: 243 for name in ud.names:
244 ud.unresolvedrev[name] = 'HEAD' 244 ud.unresolvedrev[name] = 'HEAD'
245 245
246 ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false" 246 ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat"
247 247
248 write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0" 248 write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
249 ud.write_tarballs = write_tarballs != "0" or ud.rebaseable 249 ud.write_tarballs = write_tarballs != "0" or ud.rebaseable