pre-commit hook for CR LF checking
Ville M. Vainio
vivainio at gmail.com
Thu Feb 28 19:12:01 GMT 2008
Since bzr does not fiddle with CR LF translation between platform line
ending formats (and since bare LF is the only format that properly
works on all platforms), it would be handy if it shipped with plugin
that checks the files and complains loudly if there are CR LF line
feeds in the checkin. Likewise, if there are tabs in *.py files, it
should complain.
I'm not talking about making it a default behaviour - I'm talking
about making it as easy as possible for new users to create that
setup, perhaps on some howto/cookbook page.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the bazaar
mailing list