From 6048fd22ee409bd553014ed62e3f1a6a62dba39e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 12 Apr 2012 19:42:26 +0200 Subject: git-howto: Explain how to avoid Windows line endings in git checkouts. --- doc/git-howto.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/git-howto.texi') diff --git a/doc/git-howto.texi b/doc/git-howto.texi index b01981e05e..4d3e2354fc 100644 --- a/doc/git-howto.texi +++ b/doc/git-howto.texi @@ -65,6 +65,14 @@ git clone git@@git.libav.org:libav.git This will put the Libav sources into the directory @var{} 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 -- cgit v1.2.3