summaryrefslogtreecommitdiff
path: root/tests/resources/template/hooks/update.sample
blob: 3b5f41202f1800714cdae88fcd70b4442860688c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# A sample hook to make sure that the `git_repository_init_ext()` function
# can correctly copy a hook over and set it up with the correct permissions.
#
# To enable a hook, you copy the file and remove the ".sample" suffix, but
# in this case, we're just making sure it gets copied correctly.

echo "$GIT_DIR"