![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
this is testing
noos_mbed/.git/hooks/pre-applypatch.sample@0:e8a1ba50c46b, 2021-01-14 (annotated)
- Committer:
- pmallick
- Date:
- Thu Jan 14 19:12:57 2021 +0530
- Revision:
- 0:e8a1ba50c46b
this is testing
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pmallick | 0:e8a1ba50c46b | 1 | #!/bin/sh |
pmallick | 0:e8a1ba50c46b | 2 | # |
pmallick | 0:e8a1ba50c46b | 3 | # An example hook script to verify what is about to be committed |
pmallick | 0:e8a1ba50c46b | 4 | # by applypatch from an e-mail message. |
pmallick | 0:e8a1ba50c46b | 5 | # |
pmallick | 0:e8a1ba50c46b | 6 | # The hook should exit with non-zero status after issuing an |
pmallick | 0:e8a1ba50c46b | 7 | # appropriate message if it wants to stop the commit. |
pmallick | 0:e8a1ba50c46b | 8 | # |
pmallick | 0:e8a1ba50c46b | 9 | # To enable this hook, rename this file to "pre-applypatch". |
pmallick | 0:e8a1ba50c46b | 10 | |
pmallick | 0:e8a1ba50c46b | 11 | . git-sh-setup |
pmallick | 0:e8a1ba50c46b | 12 | precommit="$(git rev-parse --git-path hooks/pre-commit)" |
pmallick | 0:e8a1ba50c46b | 13 | test -x "$precommit" && exec "$precommit" ${1+"$@"} |
pmallick | 0:e8a1ba50c46b | 14 | : |