-----Original Message-----
From: Alexander Kanavin <[email protected]> 
Sent: Wednesday, November 8, 2023 12:24 PM

> I think adding this field can be avoided if remote and branch are
> combined with / separator in the already existig 'rev' field?
>
> E.g. 'git checkout poky-contrib/master' and 'git checkout
> origin/master' both work here. The idea is that 'rev' contains
> basically what we give to 'git checkout' in the setup-layers script.
> Can be a tag too.
>
> Will that cause issues?

This is certainly a possibility, there isn't really any issue with this,
however, it will checkout using a detached head which can be a
bit of an annoyance if you do a subsequent create-layers-setup
as all the branches will have changed to 'HEAD' instead of their
previous <branch> value.

One could argue that the branch field could be dropped as well,
it isn't really used currently, nor would it be used if we decide to
use remote/branch.

Sincerely,

Jermain Horsman
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190352): 
https://lists.openembedded.org/g/openembedded-core/message/190352
Mute This Topic: https://lists.openembedded.org/mt/102444611/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to