Blame tests/resources/template/hooks/update.sample
|
Packit |
ae9e2a |
#!/bin/sh
|
|
Packit |
ae9e2a |
#
|
|
Packit |
ae9e2a |
# A sample hook to make sure that the `git_repository_init_ext()` function
|
|
Packit |
ae9e2a |
# can correctly copy a hook over and set it up with the correct permissions.
|
|
Packit |
ae9e2a |
#
|
|
Packit |
ae9e2a |
# To enable a hook, you copy the file and remove the ".sample" suffix, but
|
|
Packit |
ae9e2a |
# in this case, we're just making sure it gets copied correctly.
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
echo "$GIT_DIR"
|