Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 42,955
    • Issues 42,955
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,377
    • Merge requests 1,377
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #212763
Closed
Open
Created Mar 29, 2020 by Bryan Gonzalez@SheepReaper🤤

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.

Summary

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.

Example Project

https://gitlab.com/services-support-testing/gitstuff

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

Git log Git log

Profile history Profile history

Deleted commit contents Deleted commit contents

Output of checks

This bug happens on GitLab.com

GitLab Enterprise Edition 11.1.0-ee 9a9f41d

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Apr 09, 2020 by Bryan Gonzalez
Assignee
Assign to
Time tracking