-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
triageNeeds to be looked atNeeds to be looked at
Description
Description
log.showSignatureset totruein global git config (eg~/.config/git/config)- Click on a file from a commit in the commit view in GitLens
- A tab opens with the error message “The editor could not be opened because the file was not found.”
- Set
log.showSignaturetofalse, repeat, observe the commit view opens correctly
This seems like a regression, being the same issue as #1363 (“Error 'Unable to open compare', when git setting log.showsignature is active”), which was apparently fixed a while ago.
The ‘filename’ shown in the tab when the error message is displayed reads like the signature has been accidentally grepped into the SHA/filename, eg:
<filename> (Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...) ←→ <filename> (4b0b7f3)
Whereas, when log.showSignature is false, the tab ‘filename’ looks like:
<filename> (48d30ca) ←→ <filename> (4b0b7f3)
GitLens Version
17.6.2
VS Code Version
Version: 2.0.34
VSCode Version: 1.99.3
Commit: 45fd70f3fe72037444ba35c9e51ce86a1977ac10
Date: 2025-10-29T06:51:29.202Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0
Git Version
git version 2.50.1
Logs, Screenshots, Screen Captures, etc
GitLens
[2025-11-06 21:18:44.622] Warning(/path/to/git -c core.quotepath=false -c color.ui=false ls-tree -l Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
-- path/to/file): fatal: Not a valid object name Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
[2025-11-06 21:18:44.622] Warning(/path/to/git -c core.quotepath=false -c color.ui=false -c log.showSignature=false show --textconv Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
:./path/to/file --): fatal: bad revision 'Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
:./path/to/file'
[2025-11-06 21:18:44.622] [GIT ] [/path/to/repo] git show --textconv Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
:./path/to/file -- • bad revision 'Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX... • :./path/to/file' [14ms]
GitLens (Git)
2025-11-06 21:18:44.622 [info] [2025-11-06 21:18:44.622] [ 14ms] [/path/to/repo] git show --textconv Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
:./path/to/file -- • FAILED
2025-11-06 21:18:44.622 [info]
Error: fatal: bad revision 'Good "git" signature for user@example.com with ED25519 key SHA256:XXXXXX...
:./path/to/file'
Metadata
Metadata
Assignees
Labels
triageNeeds to be looked atNeeds to be looked at