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