Web UI shows deleted commits and contents.
reopen or port #49480 from GitLab-foss gitlab-foss#49480 (closed)#
still a problem, today.
Ported: Web UI shows deleted commits and contents.
Deleted commits still show in user profiles, including the diffs/contents of the commit.
Steps to reproduce
Push commits to a repository. Use git reset or rebase to delete some commits and push - ensure git log and Commits page on project show that the targeted commits have been deleted. Go to the user's (who pushed the commits) profile. The deleted commit should still show on their profile history. Clicking on that commit should open a page with all of the commit details.
What is the current bug behavior?
Deleted commits can still be seen on web UI.
What is the expected correct behavior?
Deleted commits should be removed entirely as these are often deleted to remove sensitive information that was accidentally pushed.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
GitLab Enterprise Edition 11.1.0-ee 9a9f41d
(If you can, link to the line of code that might be responsible for the problem)