Bug: 'git config --local user.email=<alt.email>' fails silently?
- From
- Knut Omang <knut.omang@oracle.com>
- Date
- Apr 2, 2017, 05:47 UTC
- Message-ID
- <1491112043.5830.11.camel@oracle.com>
Hi,
From the documentation I would have expected
git config --local user.email=alt.email@alt.domain
to create a section
[user] email=alt.email@alt.domain
in the local .git/config.
Instead it returns status 1 with no error message.
Is this intentional?
If I add the [user] section manually, it works as expected/desired: my commits in that tree uses the alternate mail address.
git --version git version 2.7.4
Thanks, Knut Omang
-- Knut Omang, Ph.D Principal Software Engineer Oracle Linux and Virtualization Engineering ORACLE Norway | Olaf Helsets vei 6 | 0694 Oslo Email: knut.omang@oracle.com | Phone: +47 41 46 22 10