]> source.dussan.org Git - gitea.git/commit
Do not create commit graph for temporary repos (#23219)
authorBrecht Van Lommel <brecht@blender.org>
Wed, 1 Mar 2023 19:19:04 +0000 (20:19 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Mar 2023 19:19:04 +0000 (14:19 -0500)
commit0268ee5c37b8ad733678f02bc15ec8642da62c10
treea162b168d4c47411a0d55bb244316b67577c33dc
parent403f3e9208b2d2564d67bdf87be758c487083e28
Do not create commit graph for temporary repos (#23219)

When fetching remotes for conflict checking, skip unnecessary and
potentially slow writing of commit graphs.

In a test with the Blender repository, this reduces conflict checking
time for one pull request from about 2s to 0.1s.
services/pull/temp_repo.go