Skip to content

Search: opening files from git commit graph breaks search #255277

Open
@cvertee

Description

@cvertee

After opening file from git commit graph whole search stops working properly, gives file is not descendant of directory error in OUTPUT tab, but file IS IN this directory.
Btw clearing recently opened files or/and restarting vscode helps with this

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

  • VS Code Version: 1.102.0
  • OS Version: Windows 10 22H2

Steps to Reproduce:

  1. Open vscode's Git Commit Graph
  2. Choose any commit you'll like
  3. Click open changes where it opens all file changes
  4. Pick any file, open it with "Open File" button
  5. Select any words/lines/etc and press Ctrl + Shift + F
  6. At the appeared search input press enter
  7. Search should stop working, kinda looks like in infine waiting mode
  8. Ctrl + `
  9. Go to Output tab
  10. Open window
  11. You can find error log there like file://path-to-directory/file.extension?ref=abcdef123<...> is not descendant of file://path-to-directory

all file changes:
Image

Open File button:
Image

Output tab:
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions