Try to get email from ~/.gitconfig

Issue #2662 resolved
Steven R. Brandt created an issue

Simfactory always sets the default email to the username. Try the ~/.gitconfig file, if it exists. PR is here:

Comments (5)

  1. Roland Haas

    I requested changes. Basically, modern git actually defaults to $XDG_CONFIG_HOME/git/config for its config file and only falls back to ~/.gitconfig if the needed. Best is to query git about its options using git config --global (taking care of failures etc if git is not in $PATH or otherwise not executable of course).

  2. Log in to comment