All LFS files got empty (no more Stored with Git LFS) after Gitea WebUI file editing and commit #4778
Closed
2 of 7 tasks
Labels
issue/critical
This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP
type/bug
[x]
):config file has gitlfs enabled
Description
Phase 1 - 1st commit
I do have a project with a markdown file in the root folder and a folder named 'lfs_files' where there are .png and .pdf files.
before 1st commit I enabled LFS and tracked png and pdf files as in the git lfs tutorial https://git-lfs.github.com
I do the 1st commit and 1st pull, all ok, accessing the WebUI I see all files are committed and all LFS tracked files reports the correct size and label (Stored with Git LFS)
Phase 2 - Edit markdown file under gitea webui
I edit the index.md directly in the gitea webui and commit clicking on commit changes button
From now on all LFS files has 0 size and (Stored with Git LFS) is disappeared.
I tried with multiple repositories, simple or more complex all led to the same result.
The text was updated successfully, but these errors were encountered: