* [PATCH] fetch2/git: Clarify error about missing LFS support
@ 2026-09-02 12:26 Peter Kjellerstedt
0 siblings, 0 replies; only message in thread
From: Peter Kjellerstedt @ 2026-09-02 12:26 UTC (permalink / raw)
To: bitbake-devel
Not everyone knows that lfs=0 is a parameter that shall be added to the
URL to ignore the LFS contents.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
lib/bb/fetch2/git.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index 0bb2ea39a..924a8f7ae 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -886,8 +886,8 @@ class Git(FetchMethod):
"""
if shutil.which("git-lfs", path=d.getVar('PATH')) is None:
raise bb.fetch2.FetchError(
- "Repository %s has LFS content, install git-lfs on host to download (or set lfs=0 "
- "to ignore it)" % self._get_repo_url(ud))
+ "Repository %s has LFS content, either install git-lfs on the host to download it, "
+ "or ignore it by adding lfs=0 as a parameter to the URL" % self._get_repo_url(ud))
def _get_repo_url(self, ud):
"""
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-02 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 12:26 [PATCH] fetch2/git: Clarify error about missing LFS support Peter Kjellerstedt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.