0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-19 05:25:23 +01:00
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
..
2025-10-15 10:09:32 +02:00
2025-10-20 11:43:08 -07:00
2025-10-23 08:35:48 +00:00
2025-04-01 10:14:01 +00:00
2026-01-12 20:29:35 +08:00
2026-01-01 10:32:19 -08:00
2025-12-28 13:24:28 +02:00
2025-07-30 07:08:59 +00:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.