Changes between Version 59 and Version 60 of Building/GettingTheSources


Ignore:
Timestamp:
Apr 14, 2011 8:54:54 PM (4 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v59 v60  
    1717
    1818The first thing to do is install [http://git-scm.com/ git].
     19
     20Then, if you are on Windows, ensure that git handles line-endings sanely by running:
     21{{{
     22git config --global core.autocrlf false
     23}}}
    1924
    2025A source tree consists of more than one repository: at the top level there is the main GHC repository, and certain subdirectories contain separate git repositories (the full list of git repositories relating to GHC is at [wiki:Repositories]).  To get a complete repository tree using git:
     
    4550
    4651The [wiki:Building/SyncAll sync-all] script makes it easy to pull new patches.  For example, `sync-all pull` will pull all new patches from the original repository into the repository tree in the current directory.
    47 
    48 
    49 == Windows ==
    50 
    51 Note, on Windows you may have to change git's line-ending behaviour first:
    52 
    53 {{{
    54 git config --global core.autocrlf false
    55 }}}
    56 
    57 since this is a global setting, you probably want to change it back after cloning ghc, and then set it locally for the GHC repo(s).