Skip to content

Commit 47862bb

Browse files
committed
pull preview now specifies remote branch to diff
1 parent e9b8770 commit 47862bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/_zpkg/isc/sc/git/Socket.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ClassMethod Run()
1616
Write !,"Current branch: ",branchName
1717
Do ##class(SourceControl.Git.Utils).RunGitWithArgs(.errStream, .outStream, "fetch")
1818
Kill errStream, outStream
19-
Do ##class(SourceControl.Git.Utils).RunGitWithArgs(.errStream, .outStream, "log", "HEAD..origin", "--name-status")
19+
Do ##class(SourceControl.Git.Utils).RunGitWithArgs(.errStream, .outStream, "log", "HEAD..origin/"_branchName, "--name-status")
2020
Do ##class(SourceControl.Git.Utils).PrintStreams(errStream, outStream)
2121
If (outStream.Size = 0) && (errStream.Size = 0) {
2222
Write !,"Already up to date."

0 commit comments

Comments
 (0)