diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-22 15:35:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-23 00:03:06 +0000 |
commit | c996cfea529e6ec3fa6d511ed75694db9a3a2fd3 (patch) | |
tree | 13f2888b8927d8c6ba89260d9c57a2e934c33f14 /scripts/lib/scriptpath.py | |
parent | 3fb215a3af242e2016a146739a69be746ab8b722 (diff) | |
download | poky-c996cfea529e6ec3fa6d511ed75694db9a3a2fd3.tar.gz |
bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48
From git 2.48 release notes:
"""
When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.
"""
This means with git 2.48 onwards, there is a mystery "HEAD" revision
appearing in some of our shallow clone tests. We can avoid this by
using the same canonicalization as used for the reference revisions.
This resolves autobuilder failures on the Fedora 40 workers.
(Bitbake rev: c83444d1210740e27b1744d3aa7c5cad4e28db2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions