aboutsummaryrefslogtreecommitdiffstats
path: root/classes/metadata_scm.bbclass
AgeCommit message (Collapse)Author
2010-11-04metadata_scm: use rev-parse rather than show-refChris Larson
show-ref will show all matching refs, so a "show-ref HEAD" will show not just the local HEAD, but the fetched remote ones as well. This isn't what we want for this function, so change it to use rev-parse with --verify, and also change it to use --short, to shorten the hash to a more palatable length. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Tim Harvey <harvey.tim@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-03-19Initial split of base.bbclassChris Larson
Acked-by: Richard Purdie <rpurdie@linux.intel.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Chris Larson <chris_larson@mentor.com>