Tool to retrieve the unified diff between two provided revisions or for a single commit in a Bitbucket repository. Use when you need to see the actual code changes in a commit or between two commits. Supports filtering by file path and various diff options.
pathstringOptional file path to filter the diff to a specific file or directory. If omitted, returns diff for all changes.
specRequiredstringA commit SHA, branch name, tag, or revspec (e.g. '3a8b42..9ff173' for range). For a single commit, provide the commit hash. For comparing two commits, use 'commit1..commit2' format.
mergebooleanWhether to generate merge diff. Set to true for merge commit diffs.
topicbooleanWhether to generate a 2-way three-dot diff when spec contains two commits. Set to true to use three-dot diff notation.
binarybooleanWhether to include binary file diffs. Set to true to include binary diffs in the output.
contextintegerNumber of context lines to include around changes. If not specified, uses the default context lines.
renamesbooleanWhether to detect file renames. Set to true to show rename detection in the diff.
repo_slugRequiredstringThe repository slug (URL-friendly name).
workspaceRequiredstringThe workspace ID or username that owns the repository.
ignore_whitespacebooleanWhether to ignore whitespace changes in the diff. Set to true to exclude whitespace-only changes.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.