Skip to content

Commit 104ce85

Browse files
authored
Merge pull request #409 from intersystems/fix-pull-nondefault-branch
fix: explicitly state branch to pull
2 parents d541d34 + dc57028 commit 104ce85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/SourceControl/Git/Utils.cls

+1-1
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)