From a3ed6589f4c0686bb72db8bbf714a2ca1240f483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Mon, 20 Jan 2020 13:04:09 +0000 Subject: [PATCH] added git-clean --- scripts/phabtalk/apply_patch2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/phabtalk/apply_patch2.py b/scripts/phabtalk/apply_patch2.py index a1fe8ad..9480bc1 100755 --- a/scripts/phabtalk/apply_patch2.py +++ b/scripts/phabtalk/apply_patch2.py @@ -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: