| Message ID | 20260122145533.86635-1-michalwsieron@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | fetch2/git: Unpack tarball when clone needs git-lfs update | expand |
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index 0fcdb19df..9e95d8c4c 100644 --- a/lib/bb/fetch2/git.py +++ b/lib/bb/fetch2/git.py @@ -693,7 +693,7 @@ class Git(FetchMethod): source_found = False source_error = [] - clonedir_is_up_to_date = not self.clonedir_need_update(ud, d) + clonedir_is_up_to_date = not (self.lfs_need_update(ud, d) or self.clonedir_need_update(ud, d)) if clonedir_is_up_to_date: runfetchcmd("%s clone %s %s/ %s" % (ud.basecmd, ud.cloneflags, ud.clonedir, destdir), d) source_found = True