Skip to content

Commit bb70742

Browse files
committed
fix: deletes no longer removed from uncommitted queue
1 parent b566021 commit bb70742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/SourceControl/Git/Change.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ClassMethod RefreshUncommitted(Display = 0, IncludeRevert = 0, Output gitFiles,
149149
// skip files belonging to other git enabled packages
150150
if ($EXTRACT(filename, 1, $LENGTH(packageRoot)) '= packageRoot) continue
151151

152-
if (('##class(%File).Exists(filename)) || (InternalName = "") || ((InternalName '= "") && ('$data(gitFiles(InternalName), found)) &&
152+
if ((InternalName = "") || ((InternalName '= "") && ('$data(gitFiles(InternalName), found)) &&
153153
(($data($$$TrackedItems(InternalName))) || ##class(SourceControl.Git.Utils).NormalizeExtension($data($$$TrackedItems(InternalName)))))) {
154154
set sc=..RemoveUncommitted(filename,Display,0,0)
155155
if $$$ISERR(sc) continue

0 commit comments

Comments
 (0)