You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploading files using the web UI ignores .gitattributes and adds files to git instead of uploading them to LFS.
The issue can be seen in this test repo.
My app.ini can be seen in this gist.
We need to use the cached .gitattributes file for checking if a file
should be stored in the lfs.
Fixgo-gitea#18297
Signed-off-by: Andrew Thornton <art27@cantab.net>
We need to use the cached .gitattributes file for checking if a file
should be stored in the lfs.
Fix#18297
Signed-off-by: Andrew Thornton <art27@cantab.net>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
We need to use the cached .gitattributes file for checking if a file
should be stored in the lfs.
Fixgo-gitea#18297
Signed-off-by: Andrew Thornton <art27@cantab.net>
Gitea Version
1.15.8 and 1.16.0_dev_850_ga38ab71b20
Git Version
2.34.1
Operating System
Linux
How are you running Gitea?
I'm using the Arch Linux package for gitea and running it through the systemd service provided by the package.
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/baltitenger/d048c3b523cc44969ad3f21c294b26a0
Description
Uploading files using the web UI ignores
.gitattributes
and adds files to git instead of uploading them to LFS.The issue can be seen in this test repo.
My
app.ini
can be seen in this gist.Perhaps related to #17496
Screenshots
The repo after uploading the file through the web UI:
The text was updated successfully, but these errors were encountered: