gitea/routers/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
..
activity.go
attachment.go Fix potential bugs (#10513) 2020-02-27 20:10:27 -03:00
blame.go
branch.go
commit.go Fix potential bugs (#10513) 2020-02-27 20:10:27 -03:00
compare.go Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
download.go
editor.go Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
editor_test.go
http.go
issue.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
milestone.go
pull.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
pull_review.go
release.go
release_test.go
repo.go
search.go
setting.go
setting_protected_branch.go
settings_test.go
topic.go
view.go Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
webhook.go Fix redirection path if Slack webhook channel is invalid (#10548) 2020-03-01 11:51:55 -05:00
wiki.go Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
wiki_test.go