Re: Line-endings in source files

Jan Holesovsky <[email protected]>
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <200908311827.41268.kendy__32762.1670011014$1251736079$gmane$org@suse.cz>
Hi Heiner,

On Monday 31 of August 2009, Jens-Heiner Rechtien wrote:

> > it seems to me that lately a huge amount of lineend-changes did occur.
> > Maybe it is just a bad impression because many of the cws I had a look
> > at lately did cause so many unrelated changes, but still:
> >
> > *Please* take care of lineendings before you commit.
> >
> > especially: please don't create files with mixed lineendings.
>
> I can only emphasize how important this is.

Bjoern kindly offered to do a Python version of a pre-commit hook once; it was 
more complex, but can we at least try the CRLF check?  Bjoern, would you be 
willing to provide that, if Heiner agrees to use it?

[IIRC, the main concern was the use of the overriding mechanism, but I still 
think it would be better than nothing, more so if the hook provides an exact 
info what to do to fix the situation.]

Thank you,
Kendy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.