diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2018-05-07 18:02:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:55:21 +0100 |
commit | 61b0df5523afc8f805043f3adc9c106690e6f133 (patch) | |
tree | 74bed54a0153c297c3f09253a25795d3e47a8fd8 /HEADER | |
parent | 76b17ffcea5c7275c2f9735a058256ba909b1a75 (diff) | |
download | bitbake-contrib-61b0df5523afc8f805043f3adc9c106690e6f133.tar.gz |
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.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'HEADER')
0 files changed, 0 insertions, 0 deletions