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

Expose Ahead/Behind info

    XMLWordPrintable

Details

    • 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.

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: