1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-06 07:28:03 +00:00
gitea/services/markup
Lunny Xiao ae0af8ea5b
Refactor Git Attribute & performance optimization ()
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>
2025-04-11 21:41:29 +08:00
..
main_test.go Add sub issue list support () 2024-12-24 01:54:19 +00:00
renderhelper_codepreview_test.go Add sub issue list support () 2024-12-24 01:54:19 +00:00
renderhelper_codepreview.go Refactor Git Attribute & performance optimization () 2025-04-11 21:41:29 +08:00
renderhelper_issueicontitle_test.go Add sub issue list support () 2024-12-24 01:54:19 +00:00
renderhelper_issueicontitle.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
renderhelper_mention_test.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
renderhelper.go Fix context usage () 2025-02-11 16:46:03 +08:00