зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1636797 - Tweak `git clean` call in `mach clobber python` r=mhentges,jgilbert,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84440
This commit is contained in:
Родитель
23aadf1702
Коммит
ffb40eb3c2
|
@ -239,7 +239,7 @@ class Clobber(MachCommandBase):
|
|||
'-I', 'glob:**.py[cdo]', '-I', 'glob:**/__pycache__',
|
||||
'-I', 'path:third_party/python/']
|
||||
elif conditions.is_git(self):
|
||||
cmd = ['git', 'clean', '-d', '-f', '-x', '*.py[cdo]', '*/__pycache__',
|
||||
cmd = ['git', 'clean', '-d', '-f', '-x', '*.py[cdo]', '*/__pycache__/*',
|
||||
'third_party/python/']
|
||||
else:
|
||||
# We don't know what is tracked/untracked if we don't have VCS.
|
||||
|
|
Загрузка…
Ссылка в новой задаче