1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-10 14:18:21 +01:00
gitea/services/asymkey
Lunny Xiao fafd1db19e
Some refactors about GetMergeBase (#36186)
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`.
2026-01-17 11:22:09 -08:00
..
commit_test.go Add an option to automatically verify SSH keys from LDAP (#35927) 2025-12-27 12:33:08 +00:00
commit.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +00:00
deploy_key.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
main_test.go Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
sign_test.go Instance signing rule pubkey should allow all public keys, not just GPG (#35357) 2025-08-26 15:06:37 -07:00
sign.go Some refactors about GetMergeBase (#36186) 2026-01-17 11:22:09 -08:00
ssh_key_authorized_keys.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
ssh_key_authorized_principals.go Refactor legacy code (#35708) 2025-10-20 11:43:08 -07:00
ssh_key_principals.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
ssh_key_test.go Add an option to automatically verify SSH keys from LDAP (#35927) 2025-12-27 12:33:08 +00:00
ssh_key.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00