diff --git a/githooks/pre-commit b/githooks/pre-commit index 58b2598..82e6e73 100755 --- a/githooks/pre-commit +++ b/githooks/pre-commit @@ -29,7 +29,7 @@ if [ -n "$filter" ]; then ln -s $GIT_DIR/ .git $filter git add --all - rm -rf .git + rm .git fi if [ -n "$validation" ]; then