Skip to content
Snippets Groups Projects
Commit f3c7d74d authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Merge pull request #20 from vdemeester/hook-support

Add hooks for setup()
parents a4de1a34 eac17e45
Branches
Tags
No related merge requests found
......@@ -167,11 +167,13 @@ run() {
}
setup() {
hook pre-setup
use
git config core.worktree "$GIT_WORK_TREE"
git config core.excludesfile ".gitignore.d/$VCSH_REPO_NAME"
git config vcsh.vcsh 'true'
[ -e "$VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME" ] && git add -f "$VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME"
hook post-setup
}
use() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment