bb_get_pr_diffstat
Retrieve per-file and total added/removed line counts for a Bitbucket pull request to quickly assess the scope of changes.
Instructions
Get the diffstat for a pull request: every modified file with its added/removed line counts and a totals summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| repo_slug | No | Repository slug/name; defaults to the repo detected from the current directory's git remote | |
| workspace | No | Bitbucket workspace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |