X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/a4de1a34059bcccba7b97c87865bd3bc3d798667..eac17e45f9d9f2713c39a8a27c0aa0a779ebb07c:/vcsh 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() {