[Piglit] [PATCH 1/2] git: Prevent automatic CRLF conversion for Mako templates.

Brian Paul brianp at vmware.com
Mon Oct 27 09:40:22 PDT 2014


On 10/27/2014 10:31 AM, jfonseca at vmware.com wrote:
> From: José Fonseca <jfonseca at vmware.com>
>
> It seems that Mako templates don't handle CRLF properly, so force them
> to retain Unix line endings on Windows.
>
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=80489
> ---
>   .gitattributes | 1 +
>   1 file changed, 1 insertion(+)
>   create mode 100644 .gitattributes
>
> diff --git a/.gitattributes b/.gitattributes
> new file mode 100644
> index 0000000..f3eddbc
> --- /dev/null
> +++ b/.gitattributes
> @@ -0,0 +1 @@
> +*.mako -crlf
>

Both look OK to me.

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the Piglit mailing list