Skip to content

Commit 2bf6b01

Browse files
committed
fix timing issue that removes adds from the uncommitted queue
1 parent 2af43b5 commit 2bf6b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ ClassMethod AddToSourceControl(InternalName As %String) As %Status
672672
do ..RunGitCommand("add",.errStream,.outStream,filenames(i),"--intent-to-add")
673673
write !, "Added ", FileInternalName, " to source control."
674674
do ..PrintStreams(outStream, errStream)
675+
do ##class(SourceControl.Git.Change).RefreshUncommitted(,,,1)
675676
}
676677
}
677678
quit ec
@@ -2544,4 +2545,3 @@ ClassMethod BaselineExport(pCommitMessage = "", pPushToRemote = "") As %Status
25442545
}
25452546

25462547
}
2547-

0 commit comments

Comments
 (0)