You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior: If I make a commit and then change my name (git config --global user.name "New Name"), GitLens will stop recognizing this commit as my own. (It will display the author instead of using the word 'You').
Proposed behavior: People often change their name in git for various reasons, but the e-mail usually remains the same. It would be better to consider only the e-mail. For example, if there are two commits with different author names but the same e-mail, we can assume that the author is the same person.
How to implement: It may be sufficient to pass null instead of name to isUserMatch function in all relevant places where it is called.
The text was updated successfully, but these errors were encountered:
Current behavior: If I make a commit and then change my name (
git config --global user.name "New Name"
), GitLens will stop recognizing this commit as my own. (It will display the author instead of using the word 'You').Proposed behavior: People often change their name in git for various reasons, but the e-mail usually remains the same. It would be better to consider only the e-mail. For example, if there are two commits with different author names but the same e-mail, we can assume that the author is the same person.
How to implement: It may be sufficient to pass
null
instead ofname
toisUserMatch
function in all relevant places where it is called.The text was updated successfully, but these errors were encountered: