]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'da/user-useconfigonly' into HEAD
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 May 2016 21:40:05 +0000 (14:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 May 2016 21:40:05 +0000 (14:40 -0700)
commite9ef83a299096d38c557fe71c23a3f3e0b1d1a7f
tree01b567b37750c8a681dcb717b42268ff6b94d10b
parent787a490ceee14d456912a1ce8d865be9c92b6f99
parentd3c06c196964c02f7343b53301e0e85679fad51f
Merge branch 'da/user-useconfigonly' into HEAD

The "user.useConfigOnly" configuration variable makes it an error
if users do not explicitly set user.name and user.email.  However,
its check was not done early enough and allowed another error to
trigger, reporting that the default value we guessed from the
system setting was unusable.  This was a suboptimal end-user
experience as we want the users to set user.name/user.email without
relying on the auto-detection at all.

* da/user-useconfigonly:
  ident: give "please tell me" message upon useConfigOnly error
  ident: check for useConfigOnly before auto-detection of name/email
ident.c