message needs to be quoted

这个提交包含在:
belliash 2012-01-18 17:57:53 +01:00
父节点 7bf5211876
当前提交 81d7b4a6f0
共有 1 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -137,7 +137,7 @@ function pushGit() {
run "git add ." || return 1
STATUS=$(git status --porcelain)
if [ "${STATUS}" != "" ]; then
run "git commit -a -m ${MESSAGE}" || return 1
run "git commit -a -m \"${MESSAGE}\"" || return 1
run "git push" || return 1
fi
return 0
@ -156,7 +156,7 @@ function pushMercurial() {
run "hg add ." || return 1
STATUS=$(hg status)
if [ "${STATUS}" != "" ]; then
run "hg commit -A -m ${MESSAGE}" || return 1
run "hg commit -A -m \"${MESSAGE}\"" || return 1
run "hg push -e ${BINDIR}/ssh_wrapper.sh" || return 1
fi
return 0