Re: [bitbake-devel] [PATCH] fetch2/git: fix HEAD and branch ref when subpath is used

"Antonin Godard" <[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
Hi,

On Wed Apr 15, 2026 at 4:58 AM CEST, Mark-PK Tsai via lists.openembedded.org wrote:
> From: Mark-Pk Tsai <[email protected]>
>
> When subpath is set the checkout code uses read-tree + checkout-index,
> but never updates HEAD. It stays on whatever branch the clone defaulted
> to instead of pointing to the requested revision.
>
> Fix by pointing HEAD at the correct revision after checkout-index, and
> creating the branch ref when branch= is specified.

Can you remove this warning note with your patch?

https://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst#n428

Thanks,
Antonin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.