Does anyone have a hook script that they have already written that
will check that the eol convention hasn't changed with a commit and
will reject it if it has changed?
On a project I am working on in a mixed environment everyone has
agreed that setting the right eol convention in their editor is easily
done. But it is also easily forgotten too. If we had a hook script
to check for this case then it could prevent commit accidents. I am
aware of setting eol-style to native but since the working copy files
are different than the target files (e.g. md5sums, tarballs, etc.) I
would rather avoid doing it that way if possible.
Received on 2009-03-10 00:13:35 CET
This is an archived mail posted to the Subversion Users