Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-12592

Expose Ahead/Behind info

XMLWordPrintable

    • 3
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I'd love to see ahead/behind info when fetching branches via the API.

      Basically, what you see here: {{https://bitbucket.org/

      {owner}

      /

      {repo_slug}

      /branches/}}

      Use case:

      I want to merge a branch when responding to a webhook on a remote repo only if the branch is exactly 1 commit ahead, and 0 commits behind.

              Unassigned Unassigned
              ac84713cc93f stringerbell
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: