ident: give "please tell me" message upon useConfigOnly error
authorMarios Titas <redneb@gmx.com>
Wed, 30 Mar 2016 19:29:43 +0000 (22:29 +0300)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2016 22:01:20 +0000 (15:01 -0700)
commitd3c06c196964c02f7343b53301e0e85679fad51f
tree8cea524ea19633b0fc59206ec7f65dbb145acd5c
parent734c7789aa1055d465e336f618889cc6df478535
ident: give "please tell me" message upon useConfigOnly error

The env_hint message applies perfectly to the case when
user.useConfigOnly is set and at least one of the user.name and the
user.email are not provided.

Additionally, use a less descriptive error message to discourage
users from disabling user.useConfigOnly configuration variable to
work around this error condition.  We want to encourage them to set
user.name or user.email instead.

Signed-off-by: Marios Titas <redneb@gmx.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ident.c