Line blame overlay is broken when commit message contains a )
#3018
Labels
bug
Something isn't working
support-triaged
Support has reviewed, verified, or reproduced this
verified ✔
Verified
Milestone
Description
Best described using the picture below. :)
When a commit message contains a
)
, the "open in commit graph" link in the gitlens line blame overlay is broken. This is a regular annoyance on my end because a colleague typically writes commit messages likePart 1) Description
.If the closed
)
is opened in the commit message as well (e.g.Test ()
), the behavior is as expected.Steps to reproduce:
Create a commit with message
Test )
to see the broken behavior.Create a commit with message
Test ()
to see that a closed parenthesis which doesn't have an opened parenthesis is the issue.GitLens Version
14.5.0
VS Code Version
Version: 1.84.2 (Universal)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:52:33.687Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.0.0
Git Version
git version 2.39.2
Logs, Screenshots, Screen Captures, etc
The text was updated successfully, but these errors were encountered: