]> code.ossystems Code Review - openembedded-core.git/commit
metadata_scm: rewrite git hash logic
authorRoss Burton <ross.burton@intel.com>
Tue, 13 Oct 2015 14:52:20 +0000 (15:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Oct 2015 16:48:14 +0000 (17:48 +0100)
commitbd8ff33cf2439536c6e41cf0ee9dd8fb3b64770a
tree33b58d62cdce6738c33f4556f34213099f53c8fa
parentcb46e70148c4210071299acc648c10f1c87cd3fd
metadata_scm: rewrite git hash logic

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@intel.com>
meta/classes/metadata_scm.bbclass