Open
Description
- Gitea version (or commit ref): 1.5.0
- Git version: 2.16.4
- Operating system: centos 7
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist: Downloads of LFS files
Description
With git-lfs installed and enabled on both the gitea server host and the client host, LFS controlled files do not get added properly to the .zip or .tar.gz files when:
- Using the Download Repository button
- Downloading a release
Instead of the expected file in the .zip or .tar.gz, a text file of the same name is placed in the file.
The rest endpoint also functions in the same way.
GET /repos/{owner}/{repo}/raw/{filepath}
In other respects, git-lfs works as expected when using git command line to interact with the repo.
Screenshots
Text files look like this:
version https://git-lfs.github.com/spec/v1
oid sha256:a7da80fc96bc0dd73ea0416fda5dfe1321910517634d4b142903a9fbab24f196
size 1465634