summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2018-05-07 18:02:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-22 13:13:19 +0100
commitb68ed05be66eb045cb3fc74b201ce798766c3d1a (patch)
treebf804c511404c7f745655c08b177f99cd73320e7 /bitbake/lib/bb/tests
parent13cc30cd7de4841990b600e83e1249c81a5171dd (diff)
downloadpoky-b68ed05be66eb045cb3fc74b201ce798766c3d1a.tar.gz
bitbake: fetch/git: make fewer calls to _contains_ref() from download()
Updating a local git repo clone currently results in multiple calls to self._contains_ref(), some of which appear to be redundant and can be eliminated by minor tweaks to the logic in download(). Also drop redundant calls to os.path.exists(ud.clonedir) before self.need_update(), since need_update() includes its own built-in check for the existance of ud.clonedir. (Bitbake rev: 61b0df5523afc8f805043f3adc9c106690e6f133) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests')
0 files changed, 0 insertions, 0 deletions