Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
9270771f
Commit
9270771f
authored
Nov 10, 2017
by
Jan-Gerrit Richter
Browse files
bugfix: if git not in windows path, no time is wasted
parent
82fdc660
Changes
2
Hide whitespace changes
Inline
Side-by-side
kernel/ClassStuff/@itaSuper/itaSuper.m
View file @
9270771f
...
...
@@ -159,7 +159,7 @@ classdef itaSuper < itaMeta
%% Add history line
commitID
=
ita_git_getMasterCommitHash
;
if
~
isempty
(
commitID
)
if
~
(
isempty
(
commitID
)
||
strcmp
(
commitID
,
'0'
))
this
=
ita_metainfo_add_historyline
(
this
,
'GitVersion'
,
commitID
);
end
end
...
...
kernel/StandardRoutines/ita_git_getMasterCommitHash.m
View file @
9270771f
...
...
@@ -65,7 +65,7 @@ try
commitID
=
strrep
(
commitID
,
'[\n\r]+'
,
''
);
else
ita_verbose_info
(
sprintf
(
'Git Hash Failed: %s'
,
commitID
),
1
);
commitID
=
''
;
commitID
=
'
0
'
;
end
cd
(
workingDir
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment