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

Jim Meyering jim at meyering.net
Fri Jan 28 16:02:26 UTC 2011


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.




More information about the libvir-list mailing list