Skip to content

Commit ae881f6

Browse files
Remove date range log functionality from Git tools in server.py to streamline commit history retrieval options.
1 parent 9b0134a commit ae881f6

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/git/src/mcp_server_git/server.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -485,17 +485,6 @@ async def call_tool(name: str, arguments: dict) -> list[TextContent]:
485485
text="Commit history:\n" + "\n".join(log)
486486
)]
487487

488-
case GitTools.LOG_DATE_RANGE:
489-
log = git_log_date_range(
490-
repo,
491-
arguments["start_date"],
492-
arguments["end_date"]
493-
)
494-
return [TextContent(
495-
type="text",
496-
text="Commit history:\n" + "\n".join(log)
497-
)]
498-
499488
case GitTools.LOG_BY_DATE:
500489
log = git_log_by_date(
501490
repo,

0 commit comments

Comments
 (0)