git_merge_diff
Generate a text diff for a Git merge commit against its first parent in a local repository. Specify the commit hash and repository path to analyze merge changes.
Instructions
Generates the text diff for a Git merge commit against its first parent within a specified local repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commitHash | Yes | The Git commit hash (SHA) of the merge commit. | |
repoPath | Yes | The absolute path to the local Git repository directory. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"commitHash": {
"description": "The Git commit hash (SHA) of the merge commit.",
"minLength": 6,
"pattern": "^[a-fA-F0-9]+$",
"type": "string"
},
"repoPath": {
"description": "The absolute path to the local Git repository directory.",
"minLength": 1,
"type": "string"
}
},
"required": [
"commitHash",
"repoPath"
],
"type": "object"
}