From 1c0e946c76b43cfd3d6bdf546bf93b475a776a44 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 11 Aug 2018 20:28:15 +0300 Subject: Change: more moar careful when checking out --- ick_helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ick_helpers.py b/ick_helpers.py index f5fd643..81c593c 100644 --- a/ick_helpers.py +++ b/ick_helpers.py @@ -178,6 +178,7 @@ class DebianReleaseBuilder: def checkout(self, tag): self.ex.run('git', 'reset', '--hard', check=False) + self.ex.run('git', 'clean', '-fdx', check=False) self.ex.run('git', 'checkout', 'master', check=False) self.ex.run('git', 'branch', '-d', '__ickbuild', check=False) self.ex.run('git', 'checkout', '-b', '__ickbuild', tag) -- cgit v1.2.1