Skip to content

Git-Gui: failure to distinuish 3-way common ancestors in hunk markers #2340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PhilipOakley opened this issue Sep 24, 2019 · 5 comments
Closed

Comments

@PhilipOakley
Copy link

  • [ x] I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
    64-bit (sdk)
$ git --version --build-options

git version 2.22.0.rc3.windows.1.380.gef5ddde56c.dirty
cpu: x86_64
built from commit: ef5ddde56cd95128ec1bba450bd2e4c21dc77898
sizeof-long: 4
sizeof-size_t: 8

  • Also
$ git version --build-options
git version 2.23.0.windows.1
cpu: x86_64
built from commit: 4db2e5cc9e1522131a039cbad3970f147a39f0ce
sizeof-long: 4
sizeof-size_t: 8
[1]+  Done                    git gui
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.17763.737]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

Editor Option: Notepad++
Custom Editor Path:
Path Option: BashOnly
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
Enable Builtin Interactive Add: Enabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

This is likely a long term 'bug'. This report is to have a place to capture the screen shot.

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

bash/mintty

phili@Philip-Win10 MINGW64 /c/git-sdk-64/usr/src/git (size_t_6rebase)
$ git rebase --onto origin/master 9c8cba6862abe5ac821

...
Falling back to patching base and 3-way merge...
...
error: Failed to merge in the changes.
...
$ git gui &
 [shows view below]

  • What did you expect to occur after running these commands?

I'd hoped that the git-gui would cope with the 3-way merge conflict markers
||||||| merged common ancestors

so that they were marked in the 'third' colour (orange) and form an distinct option for selecting which side of the merge could be selected

  • What actually happened instead?

The conflict markers, and common ancestor lines, are treated as being part of the current HEAD

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

I believe it is a general issue.

image

@PhilipOakley
Copy link
Author

This report is to have a place to capture the screen shot.

It's really an upstream problem, but it's not as easy for the screenshot.png viewing their.

@bertwesarg
Copy link

@dscho
Copy link
Member

dscho commented Oct 1, 2019

@bertwesarg
Copy link

It is, only that I already send out v3. But only 1/2 made it to the list. The branch is up-to-date though.

@prati0100
Copy link

This is merged upstream as prati0100/git-gui@69fdb92 so this issue can be closed.

@dscho dscho closed this as completed Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants