-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
Describe the Bug
Faulty code:
gitHistoryVSCode/browser/src/components/LogView/Commit/FileEntry/index.tsx
Lines 70 to 74 in 9f06b48
| let fileName = this.props.committedFile.relativePath; | |
| if (fileName.lastIndexOf('/') != -1) { | |
| fileName = fileName.substr(fileName.lastIndexOf('/') + 1); | |
| } | |
| const fileNameClass = fileName == globalThis.fileName ? 'file-name-active' : 'file-name'; |
Steps To Reproduce
File structure:
-src/index.tsx
-eva/index.tsx
- Make changes to the above files and commit them
- Open
src/index.tsx - Use
git.viewFileHistory - Select the commit just made and search for "index"
- Both
src/index.tsxandeva/index.tsxare highlighted
Expected Behavior
Only src/index.tsx should be highlighted.
Environment
- OS: macOS 14
- VSCode version: 1.85.1
- Git History version: 0.6.20
Metadata
Metadata
Assignees
Labels
No labels
