Skip to content
Snippets Groups Projects
Commit eac17e45 authored by Vincent Demeester's avatar Vincent Demeester
Browse files

Add setup hook

parent a4de1a34
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 to comment