]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-yocto: use cat-file instead of git-show
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 17 Mar 2014 18:00:15 +0000 (14:00 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Sep 2014 13:34:25 +0000 (14:34 +0100)
commit228c05013fe691321ec00467d8d0c0bb64dd175c
treee8d5fe5a82e6ad844e86821f2a2a535010bb8315
parent05508339882c7cc1fe3f1f67f72314fdcab979b7
kernel-yocto: use cat-file instead of git-show

Parsing the output of git show is error prone, since it changes based on
the type of issue with bad comit IDs. Since the output is no longer used
in the case of a valid ref, we can switch to git-cat-file and  simply
check the return code.

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