X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=post_edit_hook.sh;h=2c06f19b1474abdbd2b98e637ee4d372024b46ad;hp=fca8e24a856da03ee5014e89c47802e765a5f5c9;hb=aaa8d1b0c0c584f64ab3f1f08a7b8480c05161d4;hpb=7a9835c20ae0e38b72dad085ae128b19c8737fb4 diff --git a/post_edit_hook.sh b/post_edit_hook.sh index fca8e24..2c06f19 100755 --- a/post_edit_hook.sh +++ b/post_edit_hook.sh @@ -4,7 +4,7 @@ set -e exec 2>&1 -if [ $# -ne 3 ]; then +if [ $# -ne 4 ]; then echo "Usage $0 " exit 1 fi @@ -17,4 +17,4 @@ git-add $file # In case it's a new page GIT_COMMITTER_NAME='GeekiGeeki' \ GIT_COMMITTER_EMAIL='webmaster@codewiz.org' \ -git-commit -a -m "Edit page $file" --author="$2 <$2@$3>" +git commit -a -m "$4" --author="$2 <$2@$3>"