diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 6d99406777..6d82bdc88b 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -172,6 +172,12 @@ class Git(FetchMethod): | |||
172 | runfetchcmd("%s checkout-index -q -f -a" % ud.basecmd, d) | 172 | runfetchcmd("%s checkout-index -q -f -a" % ud.basecmd, d) |
173 | return True | 173 | return True |
174 | 174 | ||
175 | def clean(self, ud, d): | ||
176 | """ clean the git directory """ | ||
177 | |||
178 | bb.utils.remove(ud.localpath, True) | ||
179 | bb.utils.remove(ud.fullmirror) | ||
180 | |||
175 | def supports_srcrev(self): | 181 | def supports_srcrev(self): |
176 | return True | 182 | return True |
177 | 183 | ||