gitea/modules/indexer
Lunny Xiao ae0af8ea5b
Refactor Git Attribute & performance optimization (#34154)
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
..
code Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
internal Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
issues feat: Add sorting by exclusive labels (issue priority) (#33206) 2025-04-10 17:18:07 +00:00
stats Refactor Git Attribute & performance optimization (#34154) 2025-04-11 21:41:29 +08:00
indexer.go Improve issue & code search (#33860) 2025-03-13 11:07:48 +08:00