diff options
author | Vicent Martà <vicent@github.com> | 2013-03-06 03:35:28 +0400 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-03-06 03:35:28 +0400 |
commit | b72f5d4038a21a27efcdec350376af0342ccf3f0 (patch) | |
tree | 73428317a150fa30e7b3efcaabcd73b503e50295 /tests-clar/resources | |
parent | 3d74702eec07f2208211a72581c115340517ea4b (diff) | |
parent | 18f08264082dd436914c3c06d369e7a98ddf17aa (diff) |
Merge pull request #1369 from arrbee/repo-init-template-hooks
More tests (and fixes) for initializing repo from template
Diffstat (limited to 'tests-clar/resources')
l--------- | tests-clar/resources/template/hooks/link.sample | 1 | ||||
-rwxr-xr-x | tests-clar/resources/template/hooks/update.sample | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests-clar/resources/template/hooks/link.sample b/tests-clar/resources/template/hooks/link.sample new file mode 120000 index 000000000..771acc43b --- /dev/null +++ b/tests-clar/resources/template/hooks/link.sample @@ -0,0 +1 @@ +update.sample
\ No newline at end of file diff --git a/tests-clar/resources/template/hooks/update.sample b/tests-clar/resources/template/hooks/update.sample new file mode 100755 index 000000000..3b5f41202 --- /dev/null +++ b/tests-clar/resources/template/hooks/update.sample @@ -0,0 +1,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" |