Comment

Comment by jlgreco

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.

parent jlgreco 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton