Ram Gandikota
/
IOTMetronome
FRDM K64F Metronome
mbed-client/.git/hooks/applypatch-msg.sample@0:dbad57390bd1, 2017-05-14 (annotated)
- Committer:
- ram54288
- Date:
- Sun May 14 18:37:05 2017 +0000
- Revision:
- 0:dbad57390bd1
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ram54288 | 0:dbad57390bd1 | 1 | #!/bin/sh |
ram54288 | 0:dbad57390bd1 | 2 | # |
ram54288 | 0:dbad57390bd1 | 3 | # An example hook script to check the commit log message taken by |
ram54288 | 0:dbad57390bd1 | 4 | # applypatch from an e-mail message. |
ram54288 | 0:dbad57390bd1 | 5 | # |
ram54288 | 0:dbad57390bd1 | 6 | # The hook should exit with non-zero status after issuing an |
ram54288 | 0:dbad57390bd1 | 7 | # appropriate message if it wants to stop the commit. The hook is |
ram54288 | 0:dbad57390bd1 | 8 | # allowed to edit the commit message file. |
ram54288 | 0:dbad57390bd1 | 9 | # |
ram54288 | 0:dbad57390bd1 | 10 | # To enable this hook, rename this file to "applypatch-msg". |
ram54288 | 0:dbad57390bd1 | 11 | |
ram54288 | 0:dbad57390bd1 | 12 | . git-sh-setup |
ram54288 | 0:dbad57390bd1 | 13 | test -x "$GIT_DIR/hooks/commit-msg" && |
ram54288 | 0:dbad57390bd1 | 14 | exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
ram54288 | 0:dbad57390bd1 | 15 | : |