Commit b95c202b authored by Marco Berzborn's avatar Marco Berzborn
Browse files

use ita_verbose_info for warning

parent 877784f7
......@@ -11,7 +11,7 @@ function [gitCommitID, currentBranch] = ita_git_commit_id(varargin)
% Reference page in Help browser
% <a href="matlab:doc ita_git_commit_id">doc ita_git_commit_id</a>
%
% Autor: Philipp Schfer -- Email: psc@akustik.rwth-aachen.de
% Autor: Philipp Schfer -- Email: psc@akustik.rwth-aachen.de
% Created: 04 Apr 2021
% <ITA-Toolbox>
......@@ -24,9 +24,9 @@ gitCommitID = '';
currentBranch = '';
%% Find git folder
gitFolder = fullfile(ita_toolbox_path, '.git');
gitFolder = fullfile(ita_toolbox_path, '.git');
if ~exist(gitFolder, 'dir')
warning([upper(mfilename) ': No git folder found. Did you download the ITA Toolbox instead of cloning it?'])
ita_verbose_info('No git folder found. Did you download the ITA Toolbox instead of cloning it?')
return;
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