get_branch_diff
Compare your current branch against a base branch to retrieve git diff output for review. Filter changed files by pattern to isolate specific code changes.
Instructions
Get the git diff between the current branch and a base branch.
Args: base_branch: The base branch to compare against (default: development). file_filter: File pattern to filter (default: *.py for Python files). working_directory: Working directory (defaults to current directory).
Returns: The git diff output showing changes on the current branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_branch | No | development | |
| file_filter | No | *.py | |
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |