0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 19:04:20 +01:00
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.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 [API] Fix inconsistent label color format (#10129) 2020-02-09 14:33:03 +00:00
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 Fix milestone API state parameter unhandled (#10049) 2020-01-29 08:36:32 +02: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_review.go
release.go
release_test.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.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
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 Fix wiki raw view on sub path (#10002) 2020-01-28 09:44:08 +00:00