Hello !
One of our admins performed a 'git gc aggressive' on the bitbucket server. This had cleaned up all intermediate commits in various pull requests.
Though we were able to restore those deleted commits, the 'diff' tab on pull request still does not populate the code. Any suggestions on how this could be fixed ?
Note: The intermediate git commits were listed in ".git/logs/stash-refs/pull-requests/<number>/from". I checkout a temporary branch with each of those commits & pushed to the upstream repository to get it restored in bitbucket.