立即开始
Bitbucket Tools

Bitbucket Get Commit Diff

通过 Aident Loadout 使用 Bitbucket Tools 的 Bitbucket Get Commit Diff。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

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.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • pathstring
    Optional file path to filter the diff to a specific file or directory. If omitted, returns diff for all changes.
  • specstring
    必填
    A 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.
  • mergeboolean
    Whether to generate merge diff. Set to true for merge commit diffs.
  • topicboolean
    Whether to generate a 2-way three-dot diff when spec contains two commits. Set to true to use three-dot diff notation.
  • binaryboolean
    Whether to include binary file diffs. Set to true to include binary diffs in the output.
  • contextinteger
    Number of context lines to include around changes. If not specified, uses the default context lines.
  • renamesboolean
    Whether to detect file renames. Set to true to show rename detection in the diff.
  • repo_slugstring
    必填
    The repository slug (URL-friendly name).
  • workspacestring
    必填
    The workspace ID or username that owns the repository.
  • ignore_whitespaceboolean
    Whether to ignore whitespace changes in the diff. Set to true to exclude whitespace-only changes.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源