Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-cloud-client/.git/hooks/applypatch-msg.sample@0:c77fc6326067, 2018-03-26 (annotated)
- Committer:
- bogthe
- Date:
- Mon Mar 26 14:52:48 2018 +0000
- Revision:
- 0:c77fc6326067
Initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| bogthe | 0:c77fc6326067 | 1 | #!/bin/sh |
| bogthe | 0:c77fc6326067 | 2 | # |
| bogthe | 0:c77fc6326067 | 3 | # An example hook script to check the commit log message taken by |
| bogthe | 0:c77fc6326067 | 4 | # applypatch from an e-mail message. |
| bogthe | 0:c77fc6326067 | 5 | # |
| bogthe | 0:c77fc6326067 | 6 | # The hook should exit with non-zero status after issuing an |
| bogthe | 0:c77fc6326067 | 7 | # appropriate message if it wants to stop the commit. The hook is |
| bogthe | 0:c77fc6326067 | 8 | # allowed to edit the commit message file. |
| bogthe | 0:c77fc6326067 | 9 | # |
| bogthe | 0:c77fc6326067 | 10 | # To enable this hook, rename this file to "applypatch-msg". |
| bogthe | 0:c77fc6326067 | 11 | |
| bogthe | 0:c77fc6326067 | 12 | . git-sh-setup |
| bogthe | 0:c77fc6326067 | 13 | test -x "$GIT_DIR/hooks/commit-msg" && |
| bogthe | 0:c77fc6326067 | 14 | exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
| bogthe | 0:c77fc6326067 | 15 | : |