git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Bug: 'git config --local user.email=<alt.email>' fails silently?
@ 2017-04-02  5:47 Knut Omang
  2017-04-02  7:38 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Knut Omang @ 2017-04-02  5:47 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-02  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-02  5:47 Bug: 'git config --local user.email=<alt.email>' fails silently? Knut Omang
2017-04-02  7:38 ` Jeff King
2017-04-02  7:53   ` Knut Omang

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).