From eac17e45f9d9f2713c39a8a27c0aa0a779ebb07c Mon Sep 17 00:00:00 2001
From: Vincent Demeester <vincent@demeester.fr>
Date: Sat, 14 Jan 2012 18:48:14 +0100
Subject: [PATCH] Add setup hook

---
 vcsh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vcsh b/vcsh
index 29b5eb9..4732e46 100755
--- a/vcsh
+++ b/vcsh
@@ -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() {
-- 
GitLab