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/pre-applypatch.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 verify what is about to be committed |
| bogthe | 0:c77fc6326067 | 4 | # by 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. |
| bogthe | 0:c77fc6326067 | 8 | # |
| bogthe | 0:c77fc6326067 | 9 | # To enable this hook, rename this file to "pre-applypatch". |
| bogthe | 0:c77fc6326067 | 10 | |
| bogthe | 0:c77fc6326067 | 11 | . git-sh-setup |
| bogthe | 0:c77fc6326067 | 12 | test -x "$GIT_DIR/hooks/pre-commit" && |
| bogthe | 0:c77fc6326067 | 13 | exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"} |
| bogthe | 0:c77fc6326067 | 14 | : |