top | item 6790219

(no title)

jlgreco | 12 years ago

pre-commit would be a bad idea. You would have to ask all of your developers to install the hook, instead of just installing it on your 'official' repos and it would quickly become a nuisance to developers who liked to create temporary commits with no intention of ever giving them out to the rest of the world. These developers would quickly become annoyed at the pre-commit hook, turn it off, then you would be back where you started (except now you would have a false sense of security).

I do agree that pre-commit isn't the best choice though. I prefer update hooks; I find they are simpler to write and easier to read.

discuss

order

No comments yet.