Toyomasa Watarai
/
Mbed-example-WS-W27
Mbed Cloud example program for workshop in W27 2018.
sd-driver/.git/hooks/applypatch-msg.sample@0:119624335925, 2018-06-30 (annotated)
- Committer:
- MACRUM
- Date:
- Sat Jun 30 01:40:30 2018 +0000
- Revision:
- 0:119624335925
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MACRUM | 0:119624335925 | 1 | #!/bin/sh |
MACRUM | 0:119624335925 | 2 | # |
MACRUM | 0:119624335925 | 3 | # An example hook script to check the commit log message taken by |
MACRUM | 0:119624335925 | 4 | # applypatch from an e-mail message. |
MACRUM | 0:119624335925 | 5 | # |
MACRUM | 0:119624335925 | 6 | # The hook should exit with non-zero status after issuing an |
MACRUM | 0:119624335925 | 7 | # appropriate message if it wants to stop the commit. The hook is |
MACRUM | 0:119624335925 | 8 | # allowed to edit the commit message file. |
MACRUM | 0:119624335925 | 9 | # |
MACRUM | 0:119624335925 | 10 | # To enable this hook, rename this file to "applypatch-msg". |
MACRUM | 0:119624335925 | 11 | |
MACRUM | 0:119624335925 | 12 | . git-sh-setup |
MACRUM | 0:119624335925 | 13 | test -x "$GIT_DIR/hooks/commit-msg" && |
MACRUM | 0:119624335925 | 14 | exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
MACRUM | 0:119624335925 | 15 | : |