1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-09 08:58:05 +00:00
gitea/routers/web
Lunny Xiao 7a09bc904a
Avoid creating unnecessary temporary cat file sub process ()
Extract from  

In the same goroutine, we should reuse the exist cat file sub process
which exist in `git.Repository` to avoid creating a unnecessary
temporary subprocess.

This PR reuse the exist cate file writer and reader in
`getCommitFromBatchReader`.
It also move `prepareLatestCommitInfo` before creating dataRc which will
hold the writer so other git operation will create a temporary cat file
subprocess.
2025-04-04 16:19:19 -07:00
..
admin Enable addtional linters () 2025-04-01 10:14:01 +00:00
auth Enable addtional linters () 2025-04-01 10:14:01 +00:00
devtest Enable addtional linters () 2025-04-01 10:14:01 +00:00
events Move context from modules to services () 2024-02-27 08:12:22 +01:00
explore Improve issue & code search () 2025-03-13 11:07:48 +08:00
feed Enable addtional linters () 2025-04-01 10:14:01 +00:00
healthcheck
misc Refactor cache-control () 2025-03-13 07:04:50 +08:00
org Enable addtional linters () 2025-04-01 10:14:01 +00:00
repo Avoid creating unnecessary temporary cat file sub process () 2025-04-04 16:19:19 -07:00
shared Allow filtering issues by any assignee () 2025-03-21 04:25:36 +00:00
user Add new CLI flags to set name and scopes when creating a user with access token () 2025-04-02 22:00:54 +08:00
base.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
githttp.go Fix git client accessing renamed repo () 2025-03-28 07:28:58 +08:00
goget.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
home.go Refactor error system () 2025-02-16 22:13:17 -08:00
metrics.go
nodeinfo.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
passkey.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
web.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
webfinger.go Enable addtional linters () 2025-04-01 10:14:01 +00:00