Skip to content

Git - submodule displayed with a file icon in the source control panel #239416

@lighteko

Description

@lighteko

Image

As shown in the image, I checked out to a different branch in the submodule. However, it displays as if it is a file in the repo.

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.96.4
  • OS Version: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Create a git submodule
  2. checkout to a different branch in that submodule

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions