diff options
author | 2016-03-30 22:29:42 +0300 | |
---|---|---|
committer | 2016-04-01 14:57:55 -0700 | |
commit | 734c7789aa1055d465e336f618889cc6df478535 (patch) | |
tree | 7e1ff05213579300ac42c1f29646f8655993198c /t/lib-git-svn.sh | |
parent | ident: add user.useConfigOnly boolean for when ident shouldn't be guessed (diff) | |
download | tgif-734c7789aa1055d465e336f618889cc6df478535.tar.xz |
ident: check for useConfigOnly before auto-detection of name/email
If user.useConfigOnly is set, it does not make sense to try to
auto-detect the name and/or the email. The auto-detection may
even result in a bogus name and trigger an error message.
Check if the use-config-only is set and die if no explicit name was
given, before attempting to auto-detect, to correct this.
Signed-off-by: Marios Titas <redneb@gmx.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-svn.sh')
0 files changed, 0 insertions, 0 deletions