This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Libtool".
The branch, master has been updated via c2bdda82d31be40508c15630f73816f5e97659d0 (commit) from cbe0c8e417016a7e05b391bc4b9ee1999708bf33 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c2bdda82d31be40508c15630f73816f5e97659d0 Author: Gary V. Vaughan <[EMAIL PROTECTED]> Date: Sun Sep 7 03:50:40 2008 +0800 Convert mailnotify headers to git. * clcommit.m4sh: Improve mailnotify contents. Signed-off-by: Gary V. Vaughan <[EMAIL PROTECTED]> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 3 +++ clcommit.m4sh | 21 ++++++++------------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index b79c99b..4ac84b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-09-07 Gary V. Vaughan <[EMAIL PROTECTED]> + Convert mailnotify headers to git. + * clcommit.m4sh: Improve mailnotify contents. + Make ./commit useful again. * clcommit.m4sh: Major overhaul and simplification for git. diff --git a/clcommit.m4sh b/clcommit.m4sh index 0b5db95..0ee3b19 100644 --- a/clcommit.m4sh +++ b/clcommit.m4sh @@ -207,7 +207,7 @@ set -e fi # The funny quoting allows keeping one option per # line in $rc_file: - eval set dummy $(echo $(cat $rc_file) \\\${1+\"[EMAIL PROTECTED]"}) + eval set dummy $(echo $(cat $rc_file) \${1+\"[EMAIL PROTECTED]"}) shift ;; @@ -378,18 +378,13 @@ func_mailnotify () { echo Subject: $subject - test -f '{arch}/=tagging-method' && - echo "Tree version: `$TLA tree-version`" - test -f CVS/Root && - echo "CVSROOT: `$SED -e 's,.*:,,g' CVS/Root`" + test -f .git/config && + echo "Root: `$SED -n 's,^ url = .*:\(.*\)$,\1,p' .git/config`" test -f $MKSTAMP && - echo "TIMESTAMP: `$SHELL $MKSTAMP .`" - test -f CVS/Repository && - echo "Module name: `cat CVS/Repository`" - test -f CVS/Tag && - echo "Branch: `$SED -e 's,^T,,;1q' CVS/Tag`" - test -f CVS/Root && - echo "Changes by: `$SED -e 's,^:[a-z]*:,,;s,:.*$,,g' CVS/Root`" + echo "Timestamp: `$SHELL $MKSTAMP .`" + echo "Branch: `$GIT branch | sed -n 's/\* //p'`" + test -f .git/config && + echo "Changes by: `$SED -n 's,^ url = \([^:]*\):.*$,\1,p' .git/config`" echo "" echo "Log Message:" $SED -e 's,^, ,' "$log_file" @@ -442,7 +437,7 @@ func_mailnotify () func_commit ${1+"$@"} fi - subject="$summary ["`$GIT branch | sed -n 's/\* //p'`"]" + subject=`sed -n '1p' "$log_file"` # Send a copy of the log_file if sendmail_to was set: if test -n "$sendmail_to"; then hooks/post-receive -- GNU Libtool