diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch/git.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index b6126cbe91..938e0c08ba 100644 --- a/bitbake/lib/bb/fetch/git.py +++ b/bitbake/lib/bb/fetch/git.py | |||
| @@ -90,6 +90,12 @@ class Git(Fetch): | |||
| 90 | return True | 90 | return True |
| 91 | return False | 91 | return False |
| 92 | 92 | ||
| 93 | def try_premirror(self, d, ud): | ||
| 94 | if os.path.exists(ud.clonedir): | ||
| 95 | return False | ||
| 96 | |||
| 97 | return True | ||
| 98 | |||
| 93 | def go(self, loc, ud, d): | 99 | def go(self, loc, ud, d): |
| 94 | """Fetch url""" | 100 | """Fetch url""" |
| 95 | 101 | ||
