mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 10:00:02 +00:00
1264072754
Fixes #39598 The AGit update path in `services/agit` moved `refs/pull/N/head` without recomputing commits_behind. The AGit update path now calls `syncCommitDivergence` in `UpdateRefForAgit`, the same as AGit PR creation (`NewPullRequest`) already does. --------- Signed-off-by: dziulatex <paweldziurasoftware@yahoo.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>