repo_diff
Generate unified diffs between Git references, staged changes, or working tree modifications to review code differences in local repositories.
Instructions
Unified diff output between refs, staged, or working tree.
Args: repo_path: Path to local git repository. staged: Show staged changes (default false). from_ref: Starting reference for diff. to_ref: Ending reference for diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| staged | No | ||
| from_ref | No | ||
| to_ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |