0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 12:42:50 +01:00
gitea/modules/convert
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413)
* Display pull request head branch even the branch deleted or repository deleted

* Merge getHeadRepo/loadHeadRepo and getBaseRepo/loadBaseRepo on pull and fill repo when pr.Issue.Repo is available

* retrieve sha from pull head when pull request branch deleted and fix tests

* Fix test

* Ensure MustHeadRepoName returns empty string if no head repo

Co-authored-by: zeripath <art27@cantab.net>
2020-03-02 22:31:55 +00:00
..
convert.go adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00
issue.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
issue_test.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
main_test.go Move pull request api convert to convert package (#9664) 2020-01-10 15:53:53 +08:00
pull.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
pull_test.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
utils.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00