Commencer maintenant
Bitbucket Tools

Bitbucket Get Commit Diff

Utilisez Bitbucket Get Commit Diff avec Bitbucket Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

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.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • pathstring
    Optional file path to filter the diff to a specific file or directory. If omitted, returns diff for all changes.
  • specstring
    Obligatoire
    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
    Obligatoire
    The repository slug (URL-friendly name).
  • workspacestring
    Obligatoire
    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.

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur