Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6059

Closed
Open
Created Jan 14, 2014 by Administrator@rootOwner

6.4 Web Editor - 2 people using web gui to edit same file

Created by: mhoskiso

Summary: If two people edit the same file with the web editor, the person who commits last removes all the changes the first committer made because the file is no longer current. I remember an error message in previous versions that the changes couldn't be saved because the file has changed. Can I enable this behavior?

Steps to reproduce: User 1 & 2 browse to the same file and use the web editor. User 1 edits and commits, then User 2 commits the old file with different edits.

Expected behavior: An error message pop up saying changes can't be commited because the file has changed when User 2 tries to commit the same file User 1 edited..

Observed behavior: The person that hits the commit button last removes all the changes of the first commit that occured while two people are using the web gui to edit the same file.

Assignee
Assign to
Time tracking