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