chore: quiet down git init

The command is louder when running on newer versions of git, and the output isn't useful to end users.
This commit is contained in:
Jose Diaz-Gonzalez
2021-01-17 17:07:10 -05:00
parent 3f25514e1a
commit d5dbd456ea

View File

@@ -142,7 +142,7 @@ fn-git-create-hook() {
local PRERECEIVE_HOOK="$APP_PATH/hooks/pre-receive"
if [[ ! -d "$APP_PATH/refs" ]]; then
git init --bare "$APP_PATH" >/dev/null
git init -q --bare "$APP_PATH" >/dev/null
fi
cat >"$PRERECEIVE_HOOK" <<EOF