carlthome / vscode-git-line-blame

Display inline information of the last commit that edited the currently selected line in the editor
https://marketplace.visualstudio.com/items?itemName=carlthome.git-line-blame
GNU Affero General Public License v3.0
20 stars 4 forks source link

FAILED to handle event: Error: Command failed: git config user.name #54

Closed tholst closed 2 months ago

tholst commented 4 months ago

Hi, I just wanted to report that your nice extension (thx!) stopped working for me. I see the following error message.

image
carlthome commented 4 months ago

Oh, thanks for sharing! This came out of https://github.com/carlthome/vscode-git-line-blame/pull/49 (write "You" instead when commit author is the user)

Not sure why git config user.name wouldn't work though. Is it that you don't have a username set? Could you try running git config user.name in the VS Code integrated terminal to see what you get?

tholst commented 4 months ago

I have a user.name set. git config user.name from within vscode terminal correctly produces my name.

image
tholst commented 4 months ago

My first guess would be that git config user.name is somehow not executed in the workspace/project folder. Could that be?