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

`/compare/branches` only works for comparisons involving `master` or a commit

    XMLWordPrintable

Details

    Description

      Trying to compare tags or non-master branches results in an empty response, e.g. "No commits to display." or "There are no merged pull requests."

      The URLs for these failed comparisons look like this:

      .../branches/compare/tag-1.2.3%0Dtag-1.2.4
      .../branches/compare/branch-1.2.x%0Dbranch-1.3.x
      .../branches/compare/tag-1.2.3%0Dbranch-1.3.x

      If either of the fields references a commit or master, the comparisons work as expected.

      The raw git commands, e.g. git diff tag-1.2.3 tag-1.2.4, show the expected unified diff output.

      Attachments

        Activity

          People

            Unassigned Unassigned
            a377ce052155 peterjanes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: