You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NAMESPACE>do ##class(SourceControl.Git.API).Configure()
Configured SourceControl.Git.Extension as source control class for namespace CPM
Configured default mappings for classes, routines, and include files. You can cu
stomize these in the global:
^SYS("SourceControl","Git","settings","mappings")
WARNING: You are using an older version of git which is not compatible with git-
source-control. Please upgrade to git version 2.31.0 or greater to continue
Cancelling git-source-control configuration...
Intuitively I think the issue is:
set gitExists = ##class(SourceControl.Git.Utils).GitBinExists(.version) // version is "", gitExists = 0
set gitBinPath = ##class(SourceControl.Git.Utils).GitBinPath(.isDefault)
// Make sure they are using an appropriate git version
if (+$PIECE(version,"version ",2))<2.31 { //0 < 2.31
write !!, "WARNING: You are using an older version of git which is not compatible with git-source-control. Please upgrade to git version 2.31.0 or greater to continue"
write !!, "Cancelling git-source-control configuration..."
quit
}
We shouldn't do the version check if gitExists is false.
The text was updated successfully, but these errors were encountered:
isc-tleavitt
added
bug
Something isn't working
customer
Based on customer feedback (as opposed to something identified by developers)
labels
Nov 8, 2024
Simple solution (worked on customer call) is: if (+$PIECE(version,"version ",2))<2.31 && gitExists {
But this is still kind of silly - it would be better to repeat the version check after configuration and cancel configuration if things are still going to be broken.
Error log:
Intuitively I think the issue is:
We shouldn't do the version check if gitExists is false.
The text was updated successfully, but these errors were encountered: