mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-04 15:12:23 -05:00
Merge pull request #1162 from fernandog/patch-7
Don't clean user files when GIT CLEAN
This commit is contained in:
commit
fde6b4be52
@ -419,7 +419,7 @@ class GitUpdateManager(UpdateManager):
|
||||
Calls git clean to remove all untracked files. Returns a bool depending
|
||||
on the call's success.
|
||||
"""
|
||||
output, err, exit_status = self._run_git(self._git_path, 'clean -d -fx ""') # @UnusedVariable
|
||||
output, err, exit_status = self._run_git(self._git_path, 'clean -df ""') # @UnusedVariable
|
||||
if exit_status == 0:
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user