cg-commit: needs update Index: cg-commit =================================================================== --- b2ce852fd77209e112e0b53866ca7004e9b0879f/cg-commit (mode:100755) +++ uncommitted/cg-commit (mode:100755) @@ -67,9 +67,14 @@ LOGMSG=$(mktemp -t gitci.XXXXXX) LOGMSG2=$(mktemp -t gitci2.XXXXXX) -echo CG: ---------------------------------------------------------- >>$LOGMSG -echo CG: Lines beggining with CG: will be automatically removed >>$LOGMSG -echo CG: >>$LOGMSG +if [ -e .git/commit.form ]; then + cat .git/commit.form >>$LOGMSG +else + { + echo "CG: ----------------------------------------------------------" + echo "CG: Lines beggining with CG: will be automatically removed" + echo "CG:"; } >>$LOGMSG +fi if [ ! "$ignorecache" ]; then if [ ! "${commitfiles[*]}" ]; then echo 'Nothing to commit.' >&2