<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.Code, li.Code, div.Code
        {mso-style-name:Code;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:19.85pt;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-language:EN-US;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Devs,<o:p></o:p></p>
<p class="MsoNormal">I want to push to the haddock repo, to fix the build.  But I can’t.<o:p></o:p></p>
<p class="MsoNormal">.git/modules/utils/haddock/ contains<o:p></o:p></p>
<p class="CodeCxSpFirst">[remote "origin"]<o:p></o:p></p>
<p class="CodeCxSpMiddle">   url = git://git.haskell.org/haddock.git<o:p></o:p></p>
<p class="CodeCxSpMiddle">        pushurl = ssh://git@git.haskell.org/haddock.git<o:p></o:p></p>
<p class="CodeCxSpLast">   fetch = +refs/heads/*:refs/remotes/origin/*<o:p></o:p></p>
<p class="MsoNormal">I’m on branch ghc-head.  But when I push I get<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
/cygdrive/c/code/HEAD/utils/haddock$ git push<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
remote: W refs/heads/ghc-head haddock simonpj DENIED by refs/.*<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
remote: error: hook declined to update refs/heads/ghc-head<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
To ssh://git@git.haskell.org/haddock.git<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
! [remote rejected] ghc-head -> ghc-head (hook declined)<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
error: failed to push some refs to 'ssh://git@git.haskell.org/haddock.git'<o:p></o:p></p>
<p class="MsoNormal">No info on WHY it rejected.<o:p></o:p></p>
<p class="MsoNormal">What now?  I attach the patch if someone else would like to push.  If you do, update ghc HEAD to match<o:p></o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>