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

Have a setting to specify which email addresses are "me" #40

Closed JustinGrote closed 4 months ago

JustinGrote commented 7 months ago

I really like how Gitlens will show "You, 2 hours ago" rather than "Justin Grote, 2 hours ago" and would like a way to specify which git users would be replaced this way via a setting.

mk12 commented 5 months ago

@JustinGrote I did this in my take on "GitLens but only line annotations", https://github.com/mk12/vscode-better-git-line-blame. It detects your email automatically from git config user.email.

carlthome commented 4 months ago

Good idea @JustinGrote! 👏

I also enjoyed that in GitLens but was a little hesitant since the straightforward way would be to call git config, which means one additional git process. On the other hand, computers are fast and git starts quickly enough, so I've added this now in 0.7.1. 😄

https://marketplace.visualstudio.com/items?itemName=carlthome.git-line-blame