Closed
Description
if a pull was merged and the pull head branch ref got missing or point to commits who are missimg, use the merged-sha as fallback to generate the diff view
To Test:
- create repo A
- frok repo A to repo B
- backup bare repo A
- create feature branch on B and add some commits
- create pull from B to A & squash-merge
- clone A to local disk
- restore backup of A
- push local clone back to gitea
what I expect -> cliking on Files-Changed will show the diff based on merged-commit as fallback