summaryrefslogtreecommitdiff
path: root/classes/gitver.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-06-15gitver.bbclass: fix issue with detached headsCliff Brake1
2009-10-26gitver.bbclass: fix git dependency trackingMichael Smith1
.git/HEAD doesn't usually change on a commit, but the ref it points to (e.g. .git/refs/heads/master) should. Handle this and another couple of cases: if a tag is added without a new commit, or if the ref is in packed-refs. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Chris Larson <clarson@kergoth.com>
2009-08-26gitver.bbclass: add initial version.Chris Larson1
This provides a GITVER variable which is a (fairly) sane version, for use in ${PV}, extracted from the ${S} git checkout, assuming it is one. This is most useful in concert with srctree.bbclass. Signed-off-by: Chris Larson <clarson@kergoth.com>