[vtk-developers] New git commit hooks

Brad King brad.king at kitware.com
Fri Apr 23 15:03:19 EDT 2010


Bill Lorensen wrote:
> Why not keep the TAB check in both places. Even though the local hooks
> are optional, developers will soon learn they should enable them
> locally. Otherwise pushing will be a PITA.

The concern is that some groups might keep a long-lived branch
outside the main repository (using an online hosting site perhaps).
When it comes time to merge that branch and push, one bad commit
means the whole thing has to be rebased to fix the commit.  This
creates trouble for those that continue to work on the branch
because they will have to rebase their new work on the fixed-up
branch.

This is why we decided to make the update hook (push time) be
strict only about history-breaking mistakes (like a bad email
address).

-Brad



More information about the vtk-developers mailing list