From c0a1cb7eac4b730972841158eaf61522a8ef77b1 Mon Sep 17 00:00:00 2001 From: Mike Gehard Date: Tue, 3 Dec 2024 11:19:22 -0500 Subject: [PATCH] Update src/git/src/mcp_server_git/server.py Co-authored-by: Justin Spahr-Summers --- src/git/src/mcp_server_git/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/src/mcp_server_git/server.py b/src/git/src/mcp_server_git/server.py index 85f48e0e..02fae584 100644 --- a/src/git/src/mcp_server_git/server.py +++ b/src/git/src/mcp_server_git/server.py @@ -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__)