Merge branch 'hotfix/3.30.10'

This commit is contained in:
JackDandy 2024-02-13 11:10:02 +00:00
commit b56b257147
2 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,9 @@
### 3.30.9 (2024-02-07 23:10:00 UTC)
### 3.30.10 (2024-02-13 11:00:00 UTC)
* Change prevent git update issue
### 3.30.9 (2024-02-07 23:10:00 UTC)
* Change allow Python 3.12.2

View file

@ -601,9 +601,10 @@ class GitUpdateManager(UpdateManager):
if self.branch == self._find_installed_branch():
if not self._cur_pr_number:
_, _, exit_status = self._run_git(['pull', '-f', '%s' % sickgear.GIT_REMOTE, '%s' % self.branch])
_, _, exit_status = self._run_git(['pull', '-f', '--no-rebase', '%s' % sickgear.GIT_REMOTE,
'%s' % self.branch])
else:
_, _, exit_status = self._run_git(['pull', '-f', '%s' % sickgear.GIT_REMOTE,
_, _, exit_status = self._run_git(['pull', '-f', '--no-rebase', '%s' % sickgear.GIT_REMOTE,
'pull/%s/head:%s' % (self._cur_pr_number, self.branch)])
else: