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

Re: [libvirt] [PATCH] docs: replace CRLF with LF



Eric Blake wrote:

> On 01/28/2011 05:52 AM, Juerg Haefliger wrote:
>> ---
>>  docs/page.xsl |  350 ++++++++++++++++++++++++++++----------------------------
>>  1 files changed, 175 insertions(+), 175 deletions(-)
>
> ACK, applied.  po/ca.po is the only other file with bad line endings,
> but that requires some coordination with the translation site to get
> fixed permanently.
>
> I used this to look:
> $ git grep -l $'\r' | grep -Ev '\.(png|gif|ico)$'
>
> It may be worth enabling the (relatively recent git addition of)
> core.whitespace.cr-at-eol option to enforce no CR in text files (as well
> as using .gitattributes to mark .png/gif/ico as binary files that are
> exempt), but I'm not sure if that is something that we can enforce as a
> server side hook (so I'm cc'ing Jim for advice).

I don't know off hand, but if possible, it sure looks like it'd be worth
setting up.


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