You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixgo-gitea#33271
Suppose there is a `branch-a` in fork repo:
1. if `branch-a` exists in base repo: try to sync `base:branch-a` to `fork:branch-a`
2. if `branch-a` doesn't exist in base repo: try to sync `base:main` to `fork:branch-a`
# Conflicts:
# services/repository/merge_upstream.go
// UpstreamDivergingInfo is also used in templates, so it needs to search for all references before changing it.
80
+
typeUpstreamDivergingInfostruct {
81
+
BaseBranchNamestring
82
+
BaseBranchHasNewCommitsbool
83
+
HeadBranchCommitsBehindint
84
+
}
85
+
71
86
// GetUpstreamDivergingInfo returns the information about the divergence between the fork repository's branch and the base repository's default branch.
0 commit comments