From 83e0af894f4b236b13df61e96ac774de8c2605a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 23 May 2022 12:08:46 +0200 Subject: [PATCH] suppress git putput --- handlers/30_edit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/30_edit.sh b/handlers/30_edit.sh index 6dfe2e8..315b5c9 100755 --- a/handlers/30_edit.sh +++ b/handlers/30_edit.sh @@ -37,10 +37,10 @@ elif [ "$edit_action" = update ]; then if [ "$(which git)" ]; then git -C "$_DATA" add \ -- "pages/$edit_page/#page.md" - git -C "$_DATA" commit -m \ + git -C "$_DATA" commit -qm \ "Page # ${edit_page} # updated by user @ ${USER_NAME} @" \ -- "pages/$edit_page/#page.md" - fi + fi 1>&2 REDIRECT "${_BASE}${PATH_INFO%\[edit\]}" -- 2.39.2