mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-10 14:18:21 +01:00
Maybe fix #32018 - Use `gitrepo.GetMergeBase` method instead of other two implementations. - Add `FetchRemoteCommit` so that we don't need to add many `remote` to the git repository to avoid possible git lock conflicts. A lock will start when invoke the function, it will be invoked when cross-repository comparing. The head repository will fetch the base repository's base commit id. In most situations, it should lock the fork repositories so that it should not become a bottleneck. - Improve `GetCompareInfo` to remove unnecessarily adding remote. - Remove unnecessary parameters of `SignMerge`. |
||
|---|---|---|
| .. | ||
| commit_test.go | ||
| commit.go | ||
| deploy_key.go | ||
| main_test.go | ||
| sign_test.go | ||
| sign.go | ||
| ssh_key_authorized_keys.go | ||
| ssh_key_authorized_principals.go | ||
| ssh_key_principals.go | ||
| ssh_key_test.go | ||
| ssh_key.go | ||