Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12033

Viewing a file at an ambiguous ref causes the wrong content to be displayed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 6.8.0
    • 6.5.2, 5.16.10, 6.0.10, 6.1.8, 6.2.6, 6.3.5, 6.4.3, 6.6.2, 6.7.2
    • UI
    • None

      Issue Summary

      Incorrect content is displayed when a file view is requested at an ambiguous ref

      Steps to Reproduce

      1. Create a tag that has the same name as a branch e.g. `git tag master`
      2. Make a change to a file that already exists on master
      3. Push the change to Bitbucket
      4. View the file in Bitbucket source view

      Expected Results

      View the file content on the branch that was requested

      Actual Results

      The file content at tag that has the same name as the branch.

      Workaround

      Delete ambiguous refs.

            rfriend rikf
            rfriend rikf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: