You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
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>
4 years ago
..
comments Refactor pull request review (#8954) 5 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
gitdiff Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 4 years ago
issue Trigger webhooks on issue label-change via API too (#10421) 4 years ago
mailer [BugFix] Avoid mailing explicit unwatched (#10475) 4 years ago
mirror Move newbranch to standalone package (#9627) 5 years ago
pull Display pull request head branch even the branch deleted or repository deleted (#10413) 4 years ago
release Move PushUpdateAddDeleteTags to repository module from models (#10106) 4 years ago
repository API endpoint for repo transfer (#9947) 4 years ago
wiki Refactor repository check and sync functions (#9854) 5 years ago