gitHistoryVSCode
gitHistoryVSCode copied to clipboard
[BUG] Incorrect highlight of search result when viewing file history
Describe the Bug
Faulty code: https://github.com/DonJayamanne/gitHistoryVSCode/blob/9f06b485d3382413b4fd4129b1b7a68fd0f9d96b/browser/src/components/LogView/Commit/FileEntry/index.tsx#L70-L74
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.tsx
andeva/index.tsx
are 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