bitbake: git: Use git branch for ancestor checks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Nov 2013 13:08:59 +0000 (13:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Nov 2013 13:22:47 +0000 (13:22 +0000)
commitc496b293526522ddb7604abfcc9c0b9121f76a72
tree882fa9b007e1789840ba0bb3c26bd850e725647f
parent6f571e38da33fd100fef330b6c7594250ee2a73a
bitbake: git: Use git branch for ancestor checks

Using git merge-base for checking for ancestors is nice but required git 1.8.0
which is not in many distrbutions yet. We therefore revert to a more ugly
check using git branch --contains until such times as we can upgrade.

(Bitbake rev: 31467c0afe0346502fcd18bd376f23ea76a27d61)

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