aboutsummaryrefslogtreecommitdiffstats
path: root/options/gitignore/Zig
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-04-04 16:19:19 -0700
committerGitHub <noreply@github.com>2025-04-04 16:19:19 -0700
commit7a09bc904ae139c4a1c305d1032fdca1fd3cba89 (patch)
tree23657ce03a8e2334ce5049cc6338950202fc614c /options/gitignore/Zig
parent013b2686fe6d306c4fb800147207b099866683b9 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Avoid creating unnecessary temporary cat file sub process (#33942)HEADmain
Extract from #33934 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.
Diffstat (limited to 'options/gitignore/Zig')
0 files changed, 0 insertions, 0 deletions