aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-12 19:42:26 +0200
committerDiego Biurrun <diego@biurrun.de>2012-04-12 23:20:58 +0200
commit6048fd22ee409bd553014ed62e3f1a6a62dba39e (patch)
tree6c574f4fe810217b9e488662d8d689356be9feba
parentbaaab6069a261354a1c9470f3185686ad85166c6 (diff)
downloadffmpeg-6048fd22ee409bd553014ed62e3f1a6a62dba39e.tar.gz
git-howto: Explain how to avoid Windows line endings in git checkouts.
-rw-r--r--doc/git-howto.texi8
1 files changed, 8 insertions, 0 deletions
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 <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