bitbake: fetch2/git: Add sanity check to ensure we really did fetch the correct revisions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2013 15:21:38 +0000 (15:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2013 16:27:13 +0000 (16:27 +0000)
commitebc1162e6a0ee3a460e60273d36fb1a98131c4f7
tree0ef52ba4e95c763d2984f5069b5ffb08d3f84e26
parente2bdc70678e91ba4a76ad73cb9ba828ad4536002
bitbake: fetch2/git: Add sanity check to ensure we really did fetch the correct revisions

The fetcher made the rather bold assumption that if it fetched from the upstream,
the revisions were present and correct. These checks are fast and ensure that
really is the case. The avoids accidental network accessed and missing
branch configuration problems.

(Bitbake rev: a9112a102a89049cda597dad449e922c9e957a5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/git.py