<html>#2662: Try to get email from ~/.gitconfig
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Steven R. Brandt</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>trivial</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>I requested changes. Basically, modern git actually defaults to <code>$XDG_CONFIG_HOME/git/config</code> for its config file and only falls back to <code>~/.gitconfig</code> if the needed. Best is to query git about its options using <code>git config --global user.email</code> (taking care of failures etc if <code>git</code> is not in <code>$PATH</code> or otherwise not executable of course).</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2662/try-to-get-email-from-gitconfig'>https://bitbucket.org/einsteintoolkit/tickets/issues/2662/try-to-get-email-from-gitconfig</a></p>
</html>