projects
/
geekigeeki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add #navbar and #footer pragmas
[geekigeeki.git]
/
post_edit_hook.sh
diff --git
a/post_edit_hook.sh
b/post_edit_hook.sh
index d12d0a79257f0fad2ef4b719513abc3ab580a926..57dd0f853776ce456f8f9fdc5234384b57f55811 100755
(executable)
--- a/
post_edit_hook.sh
+++ b/
post_edit_hook.sh
@@
-4,7
+4,7
@@
set -e
exec 2>&1
set -e
exec 2>&1
-if [ $# -ne
3
]; then
+if [ $# -ne
4
]; then
echo "Usage $0 <path-to-commit> <remote-user> <remote-host>"
exit 1
fi
echo "Usage $0 <path-to-commit> <remote-user> <remote-host>"
exit 1
fi
@@
-13,8
+13,8
@@
repo=`dirname "$1"`
file=`basename "$1"`
cd $repo
file=`basename "$1"`
cd $repo
-git
-
add $file # In case it's a new page
+git
add $file # In case it's a new page
-GIT_COMMITTER_NAME='
Piki Plus
' \
+GIT_COMMITTER_NAME='
GeekiGeeki
' \
GIT_COMMITTER_EMAIL='webmaster@codewiz.org' \
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>"