mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-17 15:43:24 +02:00
fix: use 'references' instead of 'refs' for pylance even though it's an alias
This commit is contained in:
@@ -111,7 +111,7 @@ def git_log(repo: git.Repo, max_count: int = 10) -> list[str]:
|
||||
|
||||
def git_create_branch(repo: git.Repo, branch_name: str, base_branch: str | None = None) -> str:
|
||||
if base_branch:
|
||||
base = repo.refs[base_branch]
|
||||
base = repo.references[base_branch]
|
||||
else:
|
||||
base = repo.active_branch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user