Skip to content

Explorer bug when two folders have the same name in the tree view #4801

@adjerbetian

Description

@adjerbetian

Description

  1. In Cursor
  2. When clicking on a commit which has files modified in 2 folders with the same name
  3. The explorer gets confused:
    • it highlights both folders
    • it expands / folds only the second folder

GitLens Version

17.7.1

VS Code Version

Version: 2.2.14 (Universal)
VSCode Version: 1.105.1
Commit: 1685afce45886aa5579025ac7e077fc3d4369c50
Date: 2025-12-11T01:12:35.790Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Git Version

git version 2.50.1 (Apple Git-155)

Logs, Screenshots, Screen Captures, etc

gitlens logs.log

Screen.Recording.2025-12-11.at.10.24.25.mov

Metadata

Metadata

Assignees

Labels

area-graph-detailsIssues or features related to the Commit Graph detailsarea-inspectIssues or features related to the Inspect viewtriageNeeds to be looked at

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions