* [OSSTEST PATCH] cr-publish-flight-logs: Provide ref path for osstest branch push
@ 2014-05-19 10:58 Ian Jackson
0 siblings, 0 replies; only message in thread
From: Ian Jackson @ 2014-05-19 10:58 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, Ian Campbell
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 <Ian.Jackson@eu.citrix.com>
---
cr-publish-flight-logs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cr-publish-flight-logs b/cr-publish-flight-logs
index f971522..1feb52d 100755
--- a/cr-publish-flight-logs
+++ b/cr-publish-flight-logs
@@ -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'");
}
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-19 10:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 10:58 [OSSTEST PATCH] cr-publish-flight-logs: Provide ref path for osstest branch push Ian Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).