Skip to content

Commit dc57028

Browse files
committed
fix: explicitly state branch to pull
1 parent 2a8f6ed commit dc57028

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
@@ -552,7 +552,7 @@ ClassMethod Pull(remote As %String = "origin") As %Status
552552
set branchName = outStream.ReadLine(outStream.Size)
553553
write !, "Pulling from branch: ", branchName
554554
kill errStream, outStream
555-
set returnCode = ..RunGitWithArgs(.errStream, .outStream, "pull", remote)
555+
set returnCode = ..RunGitWithArgs(.errStream, .outStream, "pull", remote, branchName)
556556

557557
w !, "Pull ran with return code: " _ returnCode
558558
quit $$$OK

0 commit comments

Comments
 (0)