Skip to content

Commit 356accd

Browse files
committed
print outstreams in git command method
1 parent 34c3e29 commit 356accd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ ClassMethod Pull(remote As %String = "origin") As %Status
445445
do ##class(SourceControl.Git.Utils).RunGitCommandWithInput("branch",,.errStream,.outStream,"--show-current")
446446
set branchName = outStream.ReadLine(outStream.Size)
447447
write !, "Pulling from branch: ", branchName
448-
448+
kill errStream, outStream
449449
set returnCode = ..RunGitWithArgs(.errStream, .outStream, "pull", remote _ "/" _ branchName)
450-
450+
451451
w !, "Pull ran with return code: " _ returnCode
452452
quit $$$OK
453453
}
@@ -1627,7 +1627,7 @@ ClassMethod RunGitCommandWithInput(command As %String, inFile As %String = "", O
16271627
for stream=errStream,outStream {
16281628
set stream.RemoveOnClose = 1
16291629
}
1630-
1630+
do ..PrintStreams(errStream, outStream)
16311631
if syncIris {
16321632

16331633
$$$ThrowOnError(..SyncIrisWithRepo(.files))

0 commit comments

Comments
 (0)