Jim Carver
/
mbed-cloud-workshop-connect
Fork for workshops
wifi-ism43362/.git/hooks/applypatch-msg.sample@0:6b753f761943, 2018-10-12 (annotated)
- Committer:
- JimCarver
- Date:
- Fri Oct 12 21:22:49 2018 +0000
- Revision:
- 0:6b753f761943
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JimCarver | 0:6b753f761943 | 1 | #!/bin/sh |
JimCarver | 0:6b753f761943 | 2 | # |
JimCarver | 0:6b753f761943 | 3 | # An example hook script to check the commit log message taken by |
JimCarver | 0:6b753f761943 | 4 | # applypatch from an e-mail message. |
JimCarver | 0:6b753f761943 | 5 | # |
JimCarver | 0:6b753f761943 | 6 | # The hook should exit with non-zero status after issuing an |
JimCarver | 0:6b753f761943 | 7 | # appropriate message if it wants to stop the commit. The hook is |
JimCarver | 0:6b753f761943 | 8 | # allowed to edit the commit message file. |
JimCarver | 0:6b753f761943 | 9 | # |
JimCarver | 0:6b753f761943 | 10 | # To enable this hook, rename this file to "applypatch-msg". |
JimCarver | 0:6b753f761943 | 11 | |
JimCarver | 0:6b753f761943 | 12 | . git-sh-setup |
JimCarver | 0:6b753f761943 | 13 | test -x "$GIT_DIR/hooks/commit-msg" && |
JimCarver | 0:6b753f761943 | 14 | exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
JimCarver | 0:6b753f761943 | 15 | : |