vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Comment error on submodule repository (Creating comment failed: Error: File has been deleted.)

Open DFelten opened this issue 2 years ago • 0 comments

  • Extension version: 0.80.1
  • VSCode Version: 1.87.0-insider (c11a2dd4d52e38cb92b8c464f47a7b02bb7c8762)
  • OS: macOS 14.3.1
  • Repository Clone Configuration (single repository/fork of an upstream repository): -
  • Github Product (Github.com/Github Enterprise version x.x.x): Github.com

Steps to Reproduce:

We have a project with two Git repositories. A main repository and a submodule. As soon as both repositories on the checked out branch have a pull request, there are problems. Comments cannot be written in the pull request of the submodule if the associated branch is checked out.

It is possible to write comments in VSCode when the branch is not checked out. But as soon as I check out a pull request, I get the following error when submitting a comment: Creating comment failed: Error: File has been deleted.

It's possible to write comments, if I switch with the main repository branch to an other one without a pull request.When opening the submodule folder in an other VSCode instance, it's also possible to write comments even if the branch is checked out.

Error notification

CleanShot 2024-02-26 at 17 20 54@2x

DFelten avatar Feb 26 '24 16:02 DFelten