Skip to content
Snippets Groups Projects

Ensures committing files through the UI/api does not unintentionally overwrite changes from another commit.

What does this MR do?

It implements a new validation in the File::UpdateService to check that the file being submitted for commit has not already been committed since the time the user last opened the file for editing. This prevents accidental overwriting of commits from other sources.

What are the relevant issue numbers?

Fixes #5857 (closed)

Screenshots (if relevant)

screenshot

Why was this MR needed?

To prevent accidental data loss

Does this MR meet the acceptance criteria?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading