aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/jbenet
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-04-11 06:41:29 -0700
committerGitHub <noreply@github.com>2025-04-11 21:41:29 +0800
commitae0af8ea5b2de99a49add2b7f7b76dde62a8a617 (patch)
tree478046805342d26aee643d417311b065873ce8d7 /vendor/github.com/jbenet
parentd725b78824a6e83bc5f6db3c83f742810241d1ee (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Refactor Git Attribute & performance optimization (#34154)HEADmain
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>
Diffstat (limited to 'vendor/github.com/jbenet')
0 files changed, 0 insertions, 0 deletions