[p4] I line ending proposal

Robert Cowham robert at vaccaperna.co.uk
Fri Aug 17 05:48:26 PDT 2007


One other thing - with content triggers you can of course check for wrong
line-endings and refuse submissions.

The obvious drawback is performance, but if you restrict the trigger to only
certain files rather than all, that would probably be fine...

Perforce also already has the possibility to add attributes to files, though
it is somewhat undocumented, so it would be nice if we could standardise on
a "line-ending" attribute which was then acted on by syncs etc (obviously
everyone would need to use updated clients).



More information about the perforce-user mailing list