mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08:00
Fix update_rules checkout branch
This commit is contained in:
parent
40ba3fd970
commit
b82d49200d
@ -73,7 +73,7 @@ def main():
|
|||||||
r.git.checkout(commit)
|
r.git.checkout(commit)
|
||||||
elif branch is not None:
|
elif branch is not None:
|
||||||
logging.info(f"checking out to branch {branch}")
|
logging.info(f"checking out to branch {branch}")
|
||||||
r.branches[branch].checkout()
|
r.git.checkout(branch)
|
||||||
else:
|
else:
|
||||||
logging.info(f"checking out to default branch")
|
logging.info(f"checking out to default branch")
|
||||||
r.active_branch.checkout()
|
r.active_branch.checkout()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user