git-howto: Explain how to avoid Windows line endings in git checkouts.
authorDiego Biurrun <diego@biurrun.de>
Thu, 12 Apr 2012 17:42:26 +0000 (19:42 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 12 Apr 2012 21:20:58 +0000 (23:20 +0200)
doc/git-howto.texi

index b01981e..4d3e235 100644 (file)
@@ -65,6 +65,14 @@ git clone git@@git.libav.org:libav.git <target>
 This will put the Libav sources into the directory @var{<target>} and let
 you push back your changes to the remote repository.
 
+Make sure that you do not have Windows line endings in your checkouts,
+otherwise you may experience spurious compilation failures. One way to
+achieve this is to run
+
+@example
+git config --global core.autocrlf false
+@end example
+
 
 @section Updating the source tree to the latest revision