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

Diego Biurrun git at videolan.org
Fri Apr 13 22:12:30 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Apr 12 19:42:26 2012 +0200| [6048fd22ee409bd553014ed62e3f1a6a62dba39e] | committer: Diego Biurrun

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6048fd22ee409bd553014ed62e3f1a6a62dba39e
---

 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 ffmpeg-cvslog mailing list