Fix git diff invocation by using origin/ branch

This commit is contained in:
Daniel Donenfeld 2019-02-26 17:00:34 -08:00
parent 30092d9f6f
commit adffa26f25

View File

@ -19,7 +19,7 @@ function collectAsm {
}
#Only merge in asm if there is any change between the current branch and the final asm branch
cmd.exe /c "git diff --quiet $($branchName)..$($asmFinalBranch)"
cmd.exe /c "git diff --quiet origin/$($branchName)..$($asmFinalBranch)"
if(-not $?){
# Use cherry-pick as the asm branches only have a single commit
cmd.exe /c "git cherry-pick origin/$($branchName) --allow-empty 2>&1"