cr-publish-flight-logs: Provide ref path for osstest branch push
PATCH 1/1 cr-publish-flight-logs: Provide ref path for osstest branch push
Without this, the push fails if the osstest tree is in detached head state. (Which is a situation which can occur during by-hand testing.)
Signed-off-by Ian Jackson <[email protected]>
--- cr-publish-flight-logs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cr-publish-flight-logs +1 -1
@@ -43,7 +43,7 @@ if ($push_harness) { my $githost= $c{HarnessPublishGitUserHost}; my $gitdir= $c{HarnessPublishGitRepoDir}; - system_checked("git push $githost:$gitdir HEAD:flight-$flight"); + system_checked("git push $githost:$gitdir HEAD:refs/heads/flight-$flight"); system_checked("ssh $githost 'cd $gitdir && git update-server-info'"); }
Signature · 1 line
1.7.10.4