Skip to content

Commit

Permalink
clean git builddirs after patches
Browse files Browse the repository at this point in the history
Fixes #2084.
  • Loading branch information
djmitche committed Sep 3, 2011
1 parent 019ec87 commit 46b6460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slave/buildslave/commands/git.py
Expand Up @@ -137,7 +137,7 @@ def doVCUpdate(self):
diffbranch = self.sourcedata != self.readSourcedata()
except IOError:
diffbranch = False
if diffbranch:
if diffbranch or self.sourcedirIsPatched():
command = ['clean', '-f', '-d']
if self.ignore_ignores:
command.append('-x')
Expand Down

0 comments on commit 46b6460

Please sign in to comment.