<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=us-ascii">
<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:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Courier New";
        mso-fareast-language:EN-US;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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"><span style="font-size:12.0pt;color:#1F497D">I tried the sequence below and got this:<o:p></o:p></span></p>
<p class="Code"><a href="mailto:simonpj@cam-05-unx:~/code/ghc-7.8-branch$">simonpj@cam-05-unx:~/code/ghc-7.8-branch$</a><span style="font-family:"Calibri","sans-serif"">
</span>git checkout ghc-7.8<span style="font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
<p class="Code"><b><span style="color:red">warning: unable to rmdir utils/haddock: Directory not empty<o:p></o:p></span></b></p>
<p class="Code">M    libraries/Cabal<o:p></o:p></p>
<p class="Code">M    libraries/binary<o:p></o:p></p>
<p class="Code">M    libraries/vector<o:p></o:p></p>
<p class="Code">Branch ghc-7.8 set up to track remote branch ghc-7.8 from origin.<o:p></o:p></p>
<p class="Code">Switched to a new branch 'ghc-7.8'<o:p></o:p></p>
<p class="Code">simonpj@cam-05-unx:~/code/ghc-7.8-branch$ ls utils/haddock/<o:p></o:p></p>
<p class="Code">ANNOUNCE         doc/   haddock.cabal haskell.vim  latex-test/  make-sdist.sh  Setup.lhs*  test/<o:p></o:p></p>
<p class="Code">build-windows-dist.sh  driver/    haddock.spec  hcar.tex     LICENSE      README   src/          vendor/<o:p></o:p></p>
<p class="Code">CHANGES              ghc.mk haddock.wrapper  html-test/   Makefile     resources/   STYLE<o:p></o:p></p>
<p class="Code">simonpj@cam-05-unx:~/code/ghc-7.8-branch$ git submodule update<o:p></o:p></p>
<p class="Code">Submodule path 'libraries/Cabal': checked out 'c226c0de042999bbe4c5c339c6c28a9be7f0c6d1'<o:p></o:p></p>
<p class="Code">Submodule path 'libraries/binary': checked out '2799c25d85b4627200f2e4dcb30d2128488780c3'<o:p></o:p></p>
<p class="Code">Submodule path 'libraries/vector': checked out '9baab444a57c4a225ee247fea27187d1892d90bf'<o:p></o:p></p>
<p class="Code">simonpj@cam-05-unx:~/code/ghc-7.8-branch$<span style="font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Notice the bit in red, and the lack of a submodule update message with I did “git submodule update”. This is a completely fresh tree, newly cloned from the main repo.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Simon<o:p></o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin:0cm;margin-bottom:.0001pt"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> ghc-devs [mailto:ghc-devs-bounces@haskell.org]
<b>On Behalf Of </b>Simon Peyton Jones<br>
<b>Sent:</b> 24 April 2014 09:23<br>
<b>To:</b> ghc-devs@haskell.org<br>
<b>Subject:</b> Cloning ghc-7.8<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">How would I get a GHC 7.8 branch repo?  Something like<o:p></o:p></span></p>
<p class="Code">git clone <a href="http://git.haskell.org/ghc.git"><span style="font-family:"Calibri","sans-serif"">http://git.haskell.org/ghc.git</span></a> ghc-7.8-branch<o:p></o:p></p>
<p class="Code">cd ghc-7.8-branch<o:p></o:p></p>
<p class="Code">./sync-all get<o:p></o:p></p>
<p class="Code">git checkout ghc-7.8<o:p></o:p></p>
<p class="Code">git submodule update<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Is that enough?  What about the non-submodule libraries?  Do I need to do any more pull/get stuff?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">This would be another great entry on the workflow page.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Simon<o:p></o:p></span></p>
</div>
</div>
</body>
</html>