diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2018-05-07 18:02:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-22 13:13:19 +0100 |
commit | b68ed05be66eb045cb3fc74b201ce798766c3d1a (patch) | |
tree | bf804c511404c7f745655c08b177f99cd73320e7 /meta-selftest/recipes-test | |
parent | 13cc30cd7de4841990b600e83e1249c81a5171dd (diff) | |
download | poky-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 'meta-selftest/recipes-test')
0 files changed, 0 insertions, 0 deletions