[PATCH] D48494: [doc] Show the git config for Windows to do line-endings correctly
    Paul Robinson via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun 27 13:03:12 PDT 2018
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rL335775: Document the git config for Windows to do line-endings correctly. (authored by probinson, committed by ).
Changed prior to commit:
  https://reviews.llvm.org/D48494?vs=153159&id=153160#toc
Repository:
  rL LLVM
https://reviews.llvm.org/D48494
Files:
  llvm/trunk/docs/GettingStarted.rst
Index: llvm/trunk/docs/GettingStarted.rst
===================================================================
--- llvm/trunk/docs/GettingStarted.rst
+++ llvm/trunk/docs/GettingStarted.rst
@@ -492,8 +492,16 @@
 Git mirrors are available for a number of LLVM subprojects. These mirrors sync
 automatically with each Subversion commit and contain all necessary git-svn
 marks (so, you can recreate git-svn metadata locally). Note that right now
-mirrors reflect only ``trunk`` for each project. You can do the read-only Git
-clone of LLVM via:
+mirrors reflect only ``trunk`` for each project.
+
+.. note::
+
+  On Windows, first you will want to do ``git config --global core.autocrlf
+  false`` before you clone. This goes a long way toward ensuring that
+  line-endings will be handled correctly (the LLVM project mostly uses Linux
+  line-endings).
+
+You can do the read-only Git clone of LLVM via:
 
 .. code-block:: console
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48494.153160.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/7bc677bf/attachment.bin>
    
    
More information about the llvm-commits
mailing list