Simulated product dispenser
Fork of mbed-cloud-workshop-connect-HTS221 by
qspi-blockdevice/.git/hooks/applypatch-msg.sample@4:e518dde96e59, 2018-10-25 (annotated)
- Committer:
- JimCarver
- Date:
- Thu Oct 25 14:00:12 2018 +0000
- Revision:
- 4:e518dde96e59
- Parent:
- 0:6b753f761943
Simulated dispenser
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 | : |