Skip to content

Commit cc30c44

Browse files
committed
some debugging globals set
1 parent 2b33639 commit cc30c44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cls/SourceControl/Git/Change.cls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,12 @@ ClassMethod RefreshUncommitted(Display = 0, IncludeRevert = 0, Output gitFiles,
128128
// Remove entries in the uncommitted queue that don't correspond to changes as tracked by git
129129
set filename="", filename=$order(tFileList(filename),1,action)
130130
while (filename'="") {
131+
Set ^mtemphw("filename", $i(^mtemphw("filename"))) = filename
131132
set examine=$select(action="add":1,action="edit":1,action="delete":1, IncludeRevert&&(action="revert"):1,1:0)
132133
if 'examine set filename=$order(tFileList(filename),1,action) continue
133134

134135
set InternalName = ##class(SourceControl.Git.Utils).NameToInternalName(filename,0,0)
136+
Set ^mtemphw("internalfilename", $i(^mtemphw("internalfilename"))) = InternalName
135137

136138
if (('##class(%File).Exists(filename)) || (InternalName = "") || ((InternalName '= "") && ('$data(gitFiles(InternalName), found)) &&
137139
(($data($$$TrackedItems(InternalName))) || ##class(SourceControl.Git.Utils).NormalizeExtension($data($$$TrackedItems(InternalName)))))) {

0 commit comments

Comments
 (0)