]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'da/user-useconfigonly'
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Apr 2016 19:59:06 +0000 (12:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Apr 2016 19:59:06 +0000 (12:59 -0700)
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

1  2 
ident.c

diff --cc ident.c
Simple merge