git_branch_diff
Compare changes between two branches in a Git repository to identify file differences, with an option to include detailed diff patches for precise analysis.
Instructions
Compare two branches and show files changed between them.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repo_url | Yes | The URL of the Git repository | |
show_patch | No | Whether to include the actual diff patches | |
source_branch | Yes | The source branch name | |
target_branch | Yes | The target branch name |
Input Schema (JSON Schema)
{
"properties": {
"repo_url": {
"description": "The URL of the Git repository",
"type": "string"
},
"show_patch": {
"default": false,
"description": "Whether to include the actual diff patches",
"type": "boolean"
},
"source_branch": {
"description": "The source branch name",
"type": "string"
},
"target_branch": {
"description": "The target branch name",
"type": "string"
}
},
"required": [
"repo_url",
"source_branch",
"target_branch"
],
"type": "object"
}