summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/local.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 00:30:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 17:32:43 +0100
commitacc75635b8bab53c07c89c326f590eb387e3db67 (patch)
tree4cb5e665807aebe8751a6a65e9c677570a368372 /bitbake/lib/bb/fetch2/local.py
parent20e820883927514f1b66288265dd952af5dd5e19 (diff)
downloadpoky-acc75635b8bab53c07c89c326f590eb387e3db67.tar.gz
fetch2/git: Tweak git fetcher to handling repo updates correctly
Currently the git fetcher can malfunction when branches change in remote repositories since whilst the update code updates the "origin" remote, this isn't linked to the local heads. By passing the --mirror option to 'git clone' and 'git remote add', linkage between the local heads and remote heads is created with a 1:1 mapping, hence all the appropriate heads are then updated correctly. This fixes some issues which have been seen with the Yocto autobuilder mirrors. (Bitbake rev: 3725602ec53df116dc108b3197a426b86ca43d5f) Signed-off-by: Richard Purdie <richard.purdie@linux-foundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/local.py')
0 files changed, 0 insertions, 0 deletions