mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-12 17:57:43 +08:00
Test
This commit is contained in:
parent
be4c76fafc
commit
2b13322dbb
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def check_and_apply_update(repo=local_repo, remote_name='origin'):
|
|||
for remote in repo.remotes:
|
||||
if remote.name == remote_name:
|
||||
remote.fetch()
|
||||
remote_id = repo.lookup_reference('refs/remotes/origin/' + branch).target
|
||||
remote_id = repo.lookup_reference('refs/remotes/origin/' + str(branch)).target
|
||||
merge_result, _ = repo.merge_analysis(remote_id)
|
||||
# Up to date, do nothing
|
||||
if merge_result & pygit2.GIT_MERGE_ANALYSIS_UP_TO_DATE:
|
||||
|
|
Loading…
Reference in a new issue