-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Low
-
None
-
Affects Version/s: 7.17.0
-
Component/s: Git LFS
-
None
-
1
-
Severity 3 - Minor
Issue Summary
When a repo is downloaded (.zip archive) git lfs tracked files cannot be opened
This is reproducible on Data Center: yes
Steps to Reproduce
- Enable lfs in remote repo via Bitbucket UI
- Install git lfs on client machine & track files
- Push lfs tracked files to repo
- Download the repo via the UI
- Unzip the download and try to view the file
Expected Results
Files should be opened and viewed
Actual Results
- No errors are logged in Bitbucket
- Client machine complains that the file can't be opened
- Binary files are only 1kb in size
- When opening the binary file with a text editor the contents contain LFS pointer file eg.
version https://git-lfs.github.com/spec/v1 oid sha256:1b9552a63dcd56981e28cd02602769786adec54e164133c1650ec69250bfe618 size 7303807
Workaround
- clone the repo and git lfs pull to get the lfs tracked files locally
- Download the file directly via the Bitbucket UI