#!/bin/sh # # An example hook script to check the commit log message taken by # applypatch from an e-mail message. # # The hook should exit with non-zero status after issuing an # appropriate message if it wants to stop the commit. The hook is # allowed to edit the commit message file. # # To enable this hook, rename this file to "applypatch-msg". . git-sh-setup test -x "$GIT_DIR/hooks/commit-msg" && exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} :
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
applypatch-msg.sample | File | 452 B | 0755 |
|
commit-msg.sample | File | 896 B | 0755 |
|
post-update.sample | File | 189 B | 0755 |
|
pre-applypatch.sample | File | 398 B | 0755 |
|
pre-commit.sample | File | 1.66 KB | 0755 |
|
pre-push.sample | File | 1.32 KB | 0644 |
|
pre-rebase.sample | File | 4.83 KB | 0755 |
|
prepare-commit-msg.sample | File | 1.21 KB | 0755 |
|
update.sample | File | 3.53 KB | 0755 |
|