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

Diff download link provides the lfs pointer if the diff is tracked to non-tracked file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.9.1, 4.11.1
    • None
    • None

    Description

      Summary

      If you push a non-tracked version of a file to Bitbucket Server, then enable lfs and push an lfs-tracked version of the file, the download of the lfs version in a diff returns the pointer file.

      Steps to Reproduce

      1. Commit a binary file to a vanilla git repository.
      2. Push to a vanilla git Bitbucket Server repository.
      3. Convert local repository and the Bitbucket Server repository to git-lfs.
      4. Track the binary file type using git-lfs.
      5. Commit an update to the binary file.
      6. Push to Bitbucket Server.
      7. View the new version in a diff in Bitbucket Server.

      Expected Results

      The lfs pointer is de-referenced and the new version of the binary is made available to download

      Actual Results

      Text output showing lfs pointer

      Notes

      Old version (non-lfs) of the file is available to download

      Workaround

      None at this time

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abromberg Aaron Bromberg (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync