aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/attribute
Commit message (Collapse)AuthorAgeFilesLines
* Don't use full-file highlight when there is a git diff textconv (#35114)wxiaoguang3 days1-0/+1
| | | Fix #35106
* Fix LFS file not stored in LFS when uploaded/edited via API or web UI (#34367)bytedream2025-05-082-2/+17
| | | | | | | | 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: wxiaoguang <wxiaoguang@gmail.com>
* Refactor Git Attribute & performance optimization (#34154)Lunny Xiao2025-04-117-0/+750
This PR moved git attributes related code to `modules/git/attribute` sub package and moved language stats related code to `modules/git/languagestats` sub package to make it easier to maintain. And it also introduced a performance improvement which use the `git check-attr --source` which can be run in a bare git repository so that we don't need to create a git index file. The new parameter need a git version >= 2.40 . If git version less than 2.40, it will fall back to previous implementation. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: yp05327 <576951401@qq.com>