Skip to content

Commit

Permalink
Update src/git/src/mcp_server_git/server.py
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Spahr-Summers <[email protected]>
  • Loading branch information
mikegehard and jspahrsummers authored Dec 3, 2024
1 parent 3192bf6 commit c0a1cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/src/mcp_server_git/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def git_create_branch(repo: git.Repo, branch_name: str, base_branch: str | None
base = repo.active_branch

repo.create_head(branch_name, base)
return f"Created branch '{branch_name}' from {base.name}"
return f"Created branch '{branch_name}' from '{base.name}'"

async def serve(repository: Path | None) -> None:
logger = logging.getLogger(__name__)
Expand Down

0 comments on commit c0a1cb7

Please sign in to comment.