Skip to content

Commit 5b5076b

Browse files
committed
fixed issue with not killing bad global
1 parent 88b4495 commit 5b5076b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,9 @@ $Find(..#ImportAfterGitMenuItems, ","_menuItemName_",") > 0
185185

186186
ClassMethod MigrateInstanceSettings()
187187
{
188-
if '$data(@..%SYSNamespaceStorage()@("%gitBinPath")) {
188+
if '$data(^["%SYS"]SYS("SourceControl", "Git")) {
189189
merge ^%SYS("SourceControl", "Git") = ^["%SYS"]SYS("SourceControl", "Git")
190+
kill ^["%SYS"]SYS("SourceControl", "Git")
190191
}
191192
}
192193

0 commit comments

Comments
 (0)