[OE-core] [PATCH] metadata_scm: rewrite git hash logic

Christopher Larson clarson at kergoth.com
Tue Oct 13 15:34:56 UTC 2015


On Tue, Oct 13, 2015 at 8:11 AM, Ross Burton <ross.burton at intel.com> wrote:

> The code to get the git and branch hash for the current commit in a
> specific
> repository was quite complex and prone to breakage, replace it with
> subprocess
> and git rev-parse.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
>

Nicely done, parsing output of porcelains = bad. :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151013/975f44ab/attachment-0002.html>


More information about the Openembedded-core mailing list