mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c03baab678
When opening a repository, it will call `ensureValidRepository` and also `CatFileBatch`. But sometimes these will not be used until repository closed. So it's a waste of CPU to invoke 3 times git command for every open repository. This PR removed all of these from `OpenRepository` but only kept checking whether the folder exists. When a batch is necessary, the necessary functions will be invoked. |
6 months ago | |
---|---|---|
.. | ||
catfile.go | 2 years ago | |
lfs_common.go | 10 months ago | |
lfs_gogit.go | 10 months ago | |
lfs_nogogit.go | 6 months ago | |
namerev.go | 2 years ago | |
revlist.go | 2 years ago |