Pratyush Mallick
/
nano_dac
this is testing
noos_mbed/.git/hooks/applypatch-msg.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 check the commit log message taken by |
pmallick | 0:e8a1ba50c46b | 4 | # 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. The hook is |
pmallick | 0:e8a1ba50c46b | 8 | # allowed to edit the commit message file. |
pmallick | 0:e8a1ba50c46b | 9 | # |
pmallick | 0:e8a1ba50c46b | 10 | # To enable this hook, rename this file to "applypatch-msg". |
pmallick | 0:e8a1ba50c46b | 11 | |
pmallick | 0:e8a1ba50c46b | 12 | . git-sh-setup |
pmallick | 0:e8a1ba50c46b | 13 | commitmsg="$(git rev-parse --git-path hooks/commit-msg)" |
pmallick | 0:e8a1ba50c46b | 14 | test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} |
pmallick | 0:e8a1ba50c46b | 15 | : |