Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #2759
Closed
Open
Issue created Apr 15, 2016 by Claudio@nicorac

Swapped THEIRS and MINE in cherry-pick conflict dialogs and context menus

When cherry-picking another commit (with conflicts) MINE and THEIRS sides are swapped, in both the merge program and context menus ("resolve conflict using mine/theirs"). This is slightly related to #2676 (closed), but I suppose that fix was only partial.

What steps will reproduce the problem?

  1. Extract the attached repo conflict-swap-test.zip
  2. Checkout to master
  3. Cherry-pick the commit in branch2 (ffe943cb994fa76563afa54a09e00acfc90d2681) that adds a line to "file.txt"
  4. A conflict dialog appears

What is the expected output? What do you see instead?

I'm expecting to see the newly added line in the file on THEIRS side, but it's on MINE. The same swap exists between "Resolve conflict using 'theirs/mine'" context menu items. If you select "Resolve conflict using 'theirs'" you're - in fact - using the MINE file (so you'll end up with an empty commit).

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit 2.1.0.0 (TortoiseGit 2.0.0.0 has the same issue) git version 2.6.3.windows.1 Windows 7 x64 (fully updated)

Please provide any additional information below.

Starting from TGit 2.0 (2.1 has the same issue) the THEIRS and MINE sides are swapped. TGit 1.8.6 was ok.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking