summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
authorPavel Zhukov <pavel@zhukoff.net>2024-01-27 13:15:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-19 12:52:30 +0000
commitb2d0f31d248418f76cc8df8da9050b693d627776 (patch)
tree5c0e7b134e64065a2576f51617b502742c167a78 /bitbake/lib/bb/tests/fetch.py
parente6892bc47a5aa52ab640d74cf4729fe52c46fd81 (diff)
downloadpoky-b2d0f31d248418f76cc8df8da9050b693d627776.tar.gz
bitbake: fetch2/git.py: Fetch mirror into HEAD
Fix the issue with using of (pre)mirror in case if clonedir exists but outdated. Previous version of the code fetched new mirror content into FETCH_HEAD instead of branch which caused refetch from the upstream. Add new remote add fetch from it instead so the ref can be found by "_contains_ref" Fixes [Yocto #15369] (Bitbake rev: 69588e2a5c7c200e47b02b2391498dcb72388bd2) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
0 files changed, 0 insertions, 0 deletions