Files
@ 533ec10dfd59
Branch filter:
Location: kallithea/setup.cfg
533ec10dfd59
726 B
text/x-ini
pullrequests: refactor PullRequestModel().create
The database lookups of the user and repositories are moved outside,
into the callers, which have already looked up the relevant objects,
thus saving two database lookups when creating a PR.
The database lookups of the user and repositories are moved outside,
into the callers, which have already looked up the relevant objects,
thus saving two database lookups when creating a PR.