1
0
Fork 0

added git-clean

This commit is contained in:
Christian Kühnel 2020-01-20 13:04:09 +00:00
parent 677b7fbe89
commit a3ed6589f4

View file

@ -76,6 +76,8 @@ class ApplyPatch:
try:
print('Checking out master...')
self.repo.git.checkout('master')
print('Cleanup...')
self.repo.git.clean('-fdx')
revision_id, dependencies = self._get_dependencies()
print('Analyzing {}'.format(diff_to_str(revision_id)))
if len(dependencies) > 0: