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:
1 parent
3f25514e1a
commit
d5dbd456ea
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user