1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-29 20:25:17 +00:00
gitea/modules/git/tests/repos
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
..
language_stats_repo Refactor Git Attribute & performance optimization () 2025-04-11 21:41:29 +08:00
repo1_bare
repo1_bare_sha256
repo2_empty
repo3_notes Refactor Git Attribute & performance optimization () 2025-04-11 21:41:29 +08:00
repo4_commitsbetween Refactor Git Attribute & performance optimization () 2025-04-11 21:41:29 +08:00
repo4_submodules Inherit submodules from template repository content () 2025-01-01 02:55:13 +00:00
repo5_pulls
repo5_pulls_sha256
repo6_blame
repo6_blame_sha256
repo6_merge
repo6_merge_sha256