From: Paul Hänsch Date: Mon, 23 May 2022 10:08:46 +0000 (+0200) Subject: suppress git putput X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=83e0af894f4b236b13df61e96ac774de8c2605a5;p=shellwiki suppress git putput --- 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\]}"