Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #7342

Closed
Open
Created 10 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Merge Request Comments: how should they work?

Closed

Merge Request Comments: how should they work?

Created by: darinkes

Hi,

Setup: GitLab 7.0.0 de9bf7da

When a merge request gets opened, and some devs discuss about a line of code in the merge request, a new Discussion about this line gets opened, e.g.:

Stefan Rinkes started a discussion on this merge request diff README.md:L19

Now the dev fixes the line of code and pushes the fixed commit with force (git push -f) to the merge request.

But some other dev also doesn't like the fix in the updated merge request and wants to comment the current line of code. This comment gets attached to discussion about the old line of code. I don't think this is the wanted behavior. Since this behavior makes it impossible to discuss a line of code in an updated merge request.

Quite complicated to describe :/ I hope I didn't missed the point :)

Linked issues
0


  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: darinkes

    As extra information (just noticed after writing the issue):

    In the inline diff no comment is shown, also the expected ones. In the side-by-side diff all comments, the expected ones and unexpected ones, are shown.

    By Administrator on 2014-07-21T12:34:42 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: darinkes

    "sinnfreie Änderungen blabla" was actually the first commit

    blabla1

    the "fixed" commit (no 'blabla')

    blabla2

    By Administrator on 2014-07-21T12:43:11 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: Wachiwi

    👍

    By Administrator on 2014-07-22T06:00:56 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: jacob-carlborg

    The discussion tab always shows all comments. The changes tab always shows the latest code. I'm not sure if it's possible to have the behavior you're suggesting. If a line has a couple of comments. Then that line is removed, now there is no line to attached the comments to in the changes tab.

    By Administrator on 2014-11-20T10:37:31 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: senthilkumarkj

    We're using GitLab 7.0 and we have the same issue. With 6.x, even when we do force push, comments were preserved (under discussion tab) in the merge request and it was hugely helpful. With 7 they just disappear.

    By Administrator on 2015-02-12T01:34:59 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: senthilkumarkj

    No, I take it back. The behavior HAS NOT changed. (The developer had commented on the commit instead of changes).

    By Administrator on 2015-02-12T01:38:25 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
participants
Reference:

Menu

Projects Groups Snippets
Help