>From 7723f4ed203671c410109cbaf6dc3caca130b27b Mon Sep 17 00:00:00 2001
From: Timotius Margo <tima...@microsoft.com>
Date: Fri, 9 Jan 2015 17:03:56 -0800
Subject: [PATCH] Force text files to be downloaded in UNIX line ending (LF)

In a default MinGW environment, FFmpeg is always downloaded with CRLF
(Windows) line ending. This causes a problem with autoconf and prevents
user from building FFmpeg successfully without applying a workaround.
Current suggested workaround is to set core.autocrlf to false in git
global config. This workaround is not ideal since it affects other git
project in the same machine.

This change eliminates the need for the workaround by ensuring that
the text files are downloaded in UNIX line ending regardless of the
core.autocrlf setting.

Signed-off-by: Timotius Margo <tima...@microsoft.com>
 .gitattributes | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitattributes b/.gitattributes
index a900528..2e15a9e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,2 @@
+* text eol=lf
 *.pnm -diff -text

Attachment: 0001-Force-text-files-to-be-downloaded-in-UNIX-line-endin.patch
Description: 0001-Force-text-files-to-be-downloaded-in-UNIX-line-endin.patch

ffmpeg-devel mailing list

Reply via email to