[libav-commits] git-howto: Explain how to avoid Windows line endings in git checkouts.

Diego Biurrun git at libav.org
Thu Apr 12 23:23:05 CEST 2012


Module: libav
Branch: master
Commit: 6048fd22ee409bd553014ed62e3f1a6a62dba39e

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Thu Apr 12 19:42:26 2012 +0200

git-howto: Explain how to avoid Windows line endings in git checkouts.

---

 doc/git-howto.texi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/doc/git-howto.texi b/doc/git-howto.texi
index b01981e..4d3e235 100644
--- a/doc/git-howto.texi
+++ b/doc/git-howto.texi
@@ -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
+
+ at example
+git config --global core.autocrlf false
+ at end example
+
 
 @section Updating the source tree to the latest revision
 



More information about the libav-commits mailing list