Hopefully fixing a bug where reporting errors back to Github causes an infinite loop.

This commit is contained in:
Dan Cryer 2015-02-26 08:31:58 +00:00
commit 74565282a8
2 changed files with 6 additions and 2 deletions

View file

@ -211,7 +211,7 @@ class GithubBuild extends RemoteGitBuild
} else {
$commitId = $this->getCommitId();
$compare = $commitId == 'Manual' ? 'HEAD' : $commitId;
$builder->executeCommand('cd %s && git diff %s^! "%s"', $path, $compare, $file);
$builder->executeCommand('cd %s && git diff %s^^ "%s"', $path, $compare, $file);
}
$builder->logExecOutput(true);