Description
When a file is in a multi-level directory, the commit search on the commit graph will not always return the expected commits when searching by file.
- Add a file to a multi-level directory i.e. ~\example\directory\folder\file.tst and commit
- Open the commit graph and attempt to search for this file using
file:file.tst


If this file exists in a single-level directory, the commit is returned. Also, if you use File:file.tst instead, the commit is returned as expected.

GitLens Version
14.6.1
VS Code Version
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:48:16.874Z (3 wks ago)
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.3.0
Git Version
git version 2.41.0
Logs, Screenshots, Screen Captures, etc
No response