compare_commits
Compare two commits to analyze differences in code, filter by file patterns, and generate output in unified, stat, or name-only formats.
Instructions
Compare two commits with detailed analysis
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit1 | Yes | First commit hash or reference | |
| commit2 | Yes | Second commit hash or reference | |
| cwd | No | Working directory | |
| filePattern | No | File pattern to filter | |
| format | No | Output format |