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 Fix branch page pull request title and link error (#10092) 2020-02-01 15:54:25 +02:00
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_test.go
editor.go Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
http.go
issue_dependency.go
issue_label_test.go
issue_label.go [API] Fix inconsistent label color format (#10129) 2020-02-09 14:33:03 +00:00
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
lfs.go
main_test.go
middlewares.go
milestone.go
pull_review.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_test.go
release.go
repo.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 2020-02-03 09:47:04 +01:00
search.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
setting_protected_branch.go
setting.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
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_test.go
wiki.go Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00