Skip to content
Snippets Groups Projects
Commit 2ceb09df authored by Yoann Guilhem's avatar Yoann Guilhem Committed by Nicola Vigano
Browse files

Bugfix for gtVersion:

avoid color in git command which was leading to unexpected behavior

Signed-off-by: default avatarYoann Guilhem <yoann.guilhem@esrf.fr>
parent fd73d447
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ gitInfo = struct();
global GT_MATLAB_HOME;
% Guess git branch
[status, result] = system(['cd ' GT_MATLAB_HOME '; git branch']);
[status, result] = system(['cd ' GT_MATLAB_HOME '; git branch --no-color']);
if status
warning('gtVersion:git_branch', 'Couldn''t get git branch!');
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment