Skip to content

Git merge conflicts not showing #112713

Closed
Closed

Description

Issue Type: ### Bug

SCM panel not showing the conflict files.

Activity

  1. vscodebot commented on Dec 17, 2020

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. AlphaJuliettOmega commented on Dec 18, 2020

    @AlphaJuliettOmega

    Souvik Biswas (@souvikbiswas1998) can you give more symptom information?

    Yesterday when I had to merge, when I clicked on the blue highlight 'merge conflict' files, it wouldn't open them, but because they're highlighted I could switch from Source Control tab to Project Files tab, and could then select the file from there.

    Files that were irregular (I had 10 png's and 8 ttf fonts) didn't want to open at all until the merge was complete.
    My merge was a Folder rename.

    My side it could be to do with the bug of VS Code not letting go of files after closing, but that doesn't explain Merge Conflict files not being open-able.

  3. zhengyn0001 commented on Dec 21, 2020

    @zhengyn0001

    image
    I merged the code,and the screen showed that has merge conflicts,but i can't see any conflicts message
    image

  4. zhengyn0001 commented on Dec 21, 2020

    @zhengyn0001

    mainThreadExtensionService.ts:65 [[object Object]]Should never happen
    $onExtensionRuntimeError @ mainThreadExtensionService.ts:57
    _doInvokeHandler @ rpcProtocol.ts:396
    _invokeHandler @ rpcProtocol.ts:330
    _receiveRequest @ rpcProtocol.ts:269
    _receiveOneMessage @ rpcProtocol.ts:208
    (anonymous) @ rpcProtocol.ts:90
    fire @ event.ts:525
    fire @ ipc.net.ts:449
    _receiveMessage @ ipc.net.ts:785
    (anonymous) @ ipc.net.ts:642
    fire @ event.ts:525
    acceptChunk @ ipc.net.ts:191
    (anonymous) @ ipc.net.ts:191
    t @ ipc.net.ts:925
    emit @ events.js:223
    addChunk @ _stream_readable.js:309
    readableAddChunk @ _stream_readable.js:290
    Readable.push @ _stream_readable.js:224
    onStreamRead @ internal/stream_base_commons.js:181
    mainThreadExtensionService.ts:66 Error: Should never happen
    at D.getRightResource (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at D.getResources (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at C.get resources (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at C. (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at C.get leftUri [as leftUri] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at D.resolveChangeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at D.resolveDefaultCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at C.get command [as command] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:824
    at Array.map ()
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:824
    at Array.map ()
    at w._takeResourceStateSnapshot (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:824)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:828
    at Set.forEach ()
    at y.eventuallyUpdateResourceStates (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:828)
    at Timeout._onTimeout (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:8)
    at listOnTimeout (internal/timers.js:531)
    at processTimers (internal/timers.js:475)

  5. souvikbiswas1998 commented on Dec 21, 2020

    @souvikbiswas1998
    Author

    AJ Otto (@AlphaJuliettOmega)

    This is the snapshot of the problem.

    image

    the conflicts files are mentioned below:

    image
    and many more...

  6. infinnie commented on Dec 22, 2020

    @infinnie
    Contributor

    The should never happen error, as displayed in the screenshot, comes from

    https://github.com/microsoft/vscode/blame/0c947cb4ee4a35f04aa6c5117a9727be35b3c828/extensions/git/src/repository.ts#L680

    Even though we’re only trying to access the leftUri in a rename/delete conflict, the getRightResource() method is nevertheless called, which throws the error.

  7. eamodio commented on Jan 5, 2021

    @eamodio
    Contributor

    Duplicate of #112537 (which will be fixed in tomorrow's insiders)

  8. added
    *duplicate
    on Jan 5, 2021
  9. AlphaJuliettOmega commented on Jan 5, 2021

    @AlphaJuliettOmega

    Eric Amodio (@eamodio) that's epic, thanks for cleaning up.

  10. locked and limited conversation to collaborators on Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions