From 81e4cfcd29377979481992d29decaae4ceff9750 Mon Sep 17 00:00:00 2001 From: Fernando Date: Tue, 30 Dec 2014 10:30:41 -0200 Subject: [PATCH] Don't clean user files when GIT CLEAN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "x" option ignores the .gitignore -x Don’t use the standard ignore rules read from .gitignore (per directory) and $GIT_DIR/info/exclude, but do still use the ignore rules given with -e options. This allows removing all untracked files, including build products. This can be used (possibly in conjunction with git reset) to create a pristine working directory to test a clean build. http://git-scm.com/docs/git-clean --- sickbeard/versionChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/versionChecker.py b/sickbeard/versionChecker.py index bd15cb29..f6fa146d 100644 --- a/sickbeard/versionChecker.py +++ b/sickbeard/versionChecker.py @@ -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