libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] [PATCH] add .gitattributes and enforce LF on .ac/.am


From: Rocky Bernstein
Subject: Re: [Libcdio-devel] [PATCH] add .gitattributes and enforce LF on .ac/.am/.sh
Date: Tue, 17 Jan 2012 11:27:27 -0500

On Tue, Jan 17, 2012 at 7:38 AM, Pete Batard <address@hidden> wrote:

> This is another patch that is required for MinGW.
>

Ok. Applied in git now.


>
> Currently, running autogen.sh with a default MinGW install will break when
> if the git repo was fetched using TortoiseGit/msys-git on Windows as it
> defaults to converting the .ac/.am/.sh to CRLF.
> Autoconf appears to have issues handling CRLF when strings are broken on
> multiple lines, etc.
>
> Right now, only the .ac seems to require LF, but I think it's probably a
> good thing to enforce LF for all of .ac/.am/.sh as no system should require
> those to be CRLF. For the record, this is what we use in another project
> (libusb) that supports Linux/OSX/Windows.
>

That's because you suggested it their too. ;-)


>
> Regards,
>
> /Pete
>
>
> From 10a7e032c3bf3b2e08e53676e74020b03c15b287 Mon Sep 17 00:00:00 2001
> From: Pete Batard <address@hidden>
> Date: Mon, 16 Jan 2012 16:58:06 +0000
> Subject: [PATCH] add .gitattributes and enforce LF on .ac/.am/.sh
>
> ---
>  .gitattributes |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>  create mode 100644 .gitattributes
>
> diff --git a/.gitattributes b/.gitattributes
> new file mode 100644
> index 0000000..4b212e8
> --- /dev/null
> +++ b/.gitattributes
> @@ -0,0 +1,3 @@
> +*.sh            eol=lf
> +*.ac            eol=lf
> +*.am            eol=lf
> --
> 1.7.8.msysgit.0
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]