]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: use show-ref instead of branch -a
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 19 Mar 2014 01:38:33 +0000 (21:38 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Sep 2014 13:34:27 +0000 (14:34 +0100)
commit04bd4cee625574cfa67679b6b2a150a21106c5bf
treebb8537567226d29b06eb2f943591309972c43e40
parente272cfbba87a98393d6c22bd96c7f1cb6902170a
kernel-yocto: use show-ref instead of branch -a

It's better to check a branches existence via show-ref versus the end
user branch commands. So we make the switch.

Also as part of this change, we move the conversion of remote branches
to local branches above the meta branch checking. This is required to
ensure that the branch is local for the show-ref check.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass