forgejo/services/pull
zeripath 9c33aff689
Do not create commit graph for temporary repos (#23219) (#23302)
Backport #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.

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Brecht Van Lommel <brecht@blender.org>
2023-03-05 01:20:02 +01:00
..
check.go Add force_merge to merge request and fix checking mergable (#23010) (#23032) 2023-02-21 09:42:22 -06:00
check_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
commit_status.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
edits.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
lfs.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
merge.go Use --message=%s for git commit message (#23028) (#23029) 2023-02-21 14:16:25 +08:00
patch.go Improve trace logging for pulls and processes (#22633) (#22812) 2023-02-13 11:17:36 +08:00
patch_unmerged.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
pull.go some refactor about code comments(#20821) (#22707) 2023-02-16 21:21:25 +08:00
pull_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
review.go some refactor about code comments(#20821) (#22707) 2023-02-16 21:21:25 +08:00
temp_repo.go Do not create commit graph for temporary repos (#23219) (#23302) 2023-03-05 01:20:02 +01:00
update.go Fix 500 error viewing pull request when fork has pull requests disabled (#22512) (#22515) 2023-01-18 22:50:51 +01:00