-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix LFS file not stored in LFS when uploaded/edited via API or web UI #34367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Take a look at the original implementation. It will read the git worktree rather than a PASSing |
I've re-added the option to use |
Can we always use |
|
We could add the uploaded .gitattributes thing here too, it's really trivial as you wrote @wxiaoguang, if it's okay to add such an feature in a bug fix (well it depends how one sees this, it could also be considered a bug that this doesn't work yet). |
I think this PR is good enough to fix the bug and to be backported for 1.24. TBH I don't see a real case that end users would manually upload a ".gitattributes" at the moment, maybe we could leave the "improvement" to the day when someone really needs it. |
…go-gitea#34367) Files that should be stored in LFS and are uploaded/edited from the API or web UI aren't stored in LFS. This may be a regression from go-gitea#34154. --------- Co-authored-by: wxiaoguang <[email protected]>
…#34367) (#34396) Backport #34367 by bytedream Files that should be stored in LFS and are uploaded/edited from the API or web UI aren't stored in LFS. This may be a regression from #34154. Co-authored-by: bytedream <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
* giteaofficial/main: [skip ci] Updated translations via Crowdin Fix autofocus behavior (go-gitea#34397) Fix incorrect divergence cache after switching default branch (go-gitea#34370) Add a button editing action secret (go-gitea#34348) Fix LFS file not stored in LFS when uploaded/edited via API or web UI (go-gitea#34367) [skip ci] Updated translations via Crowdin Fix "The sidebar of the repository file list does not have a fixed height go-gitea#34298" (go-gitea#34321) feat: add label 'state' to metric 'gitea_users' (go-gitea#34326) Update JS and PY dependencies (go-gitea#34391) Upgrade go-github v61 -> v71 (go-gitea#34385) Bump `@github/relative-time-element` to v4.4.7 (go-gitea#34384) gitignore: Visual Studio settings folder (go-gitea#34375) Grey out expired artifact on Artifacts list (go-gitea#34314)
Files that should be stored in LFS and are uploaded/edited from the API or web UI aren't stored in LFS. This may be a regression from #34154.