office-gobmx/.git-hooks
Thorsten Behrens 0724c35c28 Fixup pre-commit hook to work with worktrees
For git worktree setups, the hooks sit with the original repo
(usually the initial clone). Worktrees with older version checkouts
then miss the blacklist->excludelist rename, and consequently fail.

Change-Id: I5f60fabc7d5856c74d93c4ada54f57574e0fd1a9
2020-07-10 22:52:07 +02:00
..
commit-msg git hooks: update commit-msg to Gerrit 2.16.15 2020-02-01 04:14:09 +01:00
post-merge
pre-commit Fixup pre-commit hook to work with worktrees 2020-07-10 22:52:07 +02:00
README

Git hooks are executable scripts you can place in $GIT_DIR/hooks directory to trigger action at certain points.

To install manually, run:

  cd .git/hooks && ln -s ../../.git-hooks/* ./

There are two groups of these hooks: client side and server side.

The client-side hooks:
are for client operations such as committing and merging.

The server-side hooks:
are for Git server operations such as receiving pushed commits.

See Also [ http://git-scm.com/book/en/Customizing-Git-Git-Hooks ]