Skip to content

Commit ecbdf16

Browse files
After a fetch perform a diff against the remote of the current branch
1 parent 3cb5080 commit ecbdf16

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
@@ -534,7 +534,7 @@ ClassMethod Fetch(ByRef diffFiles) As %Status
534534
do ..RunGitCommand("fetch", .errStream, .outStream)
535535
write !, "Fetch done"
536536
kill errStream, outStream
537-
do ..RunGitCommand("diff", .errStream, .outStream, "..origin", "--name-only")
537+
do ..RunGitCommand("diff", .errStream, .outStream, "..origin/"_..GetCurrentBranch(), "--name-only")
538538
set diffFiles = ""
539539
while (outStream.AtEnd = 0) {
540540
set diffFiles = diffFiles_$listbuild(outStream.ReadLine())

0 commit comments

Comments
 (0)