0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 18:42:49 +01:00
gitea/routers/api/v1/repo
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
..
blob.go
branch.go
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_comment.go
issue_label.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
issue_reaction.go
issue_stopwatch.go
issue_subscription.go Code Refactor of IssueWatch related things (#10401) 2020-02-26 03:32:22 -03:00
issue_tracked_time.go
issue.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
key.go
label.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
main_test.go
migrate.go Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
milestone.go
mirror.go
pull.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
release_attachment.go
release.go
repo_test.go
repo.go
star.go
status.go
subscriber.go
tag.go [API] enable paggination for ListRepoTags (#10454) 2020-02-25 14:07:07 -05:00
topic.go
transfer.go
tree.go