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
Currently, if kaclone.email if not present in the gitconfig hierarchy, we try to guess default user email by doing $USER + "@" + DEFAULT_EMAIL_DOMAIN.
As @spicyj noted in code review, we could additionally first check if gitconfig has a user.email setting which endswith(DEFAULT_EMAIL_DOMAIN), and if so, use that first. There are a few more places we could check for hints as well, such as the GIT_AUTHOR_EMAIL os.environ variable.
The text was updated successfully, but these errors were encountered:
Currently, if
kaclone.email
if not present in the gitconfig hierarchy, we try to guess default user email by doing$USER + "@" + DEFAULT_EMAIL_DOMAIN
.As @spicyj noted in code review, we could additionally first check if gitconfig has a
user.email
setting whichendswith(DEFAULT_EMAIL_DOMAIN)
, and if so, use that first. There are a few more places we could check for hints as well, such as theGIT_AUTHOR_EMAIL
os.environ variable.The text was updated successfully, but these errors were encountered: