Commit 010a4c77 authored by Marco Berzborn's avatar Marco Berzborn
Browse files

removed verbose info from ita_git_read_config

parent fcf1f9cd
...@@ -26,13 +26,9 @@ workingDir = pwd; ...@@ -26,13 +26,9 @@ workingDir = pwd;
cd(ita_toolbox_path) cd(ita_toolbox_path)
% This will only work if git bash bindings are installed. % This will only work if git bash bindings are installed.
% TODO: check TortoiseGit command line version
[userName,userMail,statusName,statusMail] = read_config_with_bindings(); [userName,userMail,statusName,statusMail] = read_config_with_bindings();
if statusName ~= 0 || statusMail ~= 0 if statusName ~= 0 || statusMail ~= 0
% Do not use ita_verbose_info here, as it will result in an infinite
% loop because of an ita_preferences call
disp('Either git was not found on your machine or your username and e-mail are not set in the configuration. You can set them manually using ita_preferences.');
userName = []; userName = [];
userMail = []; userMail = [];
end end
...@@ -53,7 +49,6 @@ if statusName ~= 0 ...@@ -53,7 +49,6 @@ if statusName ~= 0
end end
if statusMail ~= 0 if statusMail ~= 0
[statusMail,userMail] = system('git config --global user.email'); [statusMail,userMail] = system('git config --global user.email');
disp('I took your E-Mail from the global git configuration');
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment