1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00

Display forked repository's branch

This commit is contained in:
Lunny Xiao
2024-11-28 16:13:40 -08:00
parent 703eebfa92
commit ab6d2ed9d7
3 changed files with 20 additions and 12 deletions
+1
View File
@@ -37,6 +37,7 @@ func FindIssueDevLinksByIssue(ctx context.Context, issue *issues_model.Issue) (i
branchPRExists := make(container.Set[string])
for _, link := range devLinks {
link.Repo = issue.Repo
if link.LinkedRepoID == 0 {
link.LinkedRepoID = issue.RepoID
}