[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Libtool branch, master, updated. v2.2.4-44-gc2bdda8
From: |
Gary V. Vaughan |
Subject: |
[SCM] GNU Libtool branch, master, updated. v2.2.4-44-gc2bdda8 |
Date: |
Sat, 06 Sep 2008 19:50:55 +0000 |
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 <address@hidden>
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 <address@hidden>
-----------------------------------------------------------------------
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 <address@hidden>
+ 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+\"address@hidden"})
+ eval set dummy $(echo $(cat $rc_file)
\${1+\"address@hidden"})
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Libtool branch, master, updated. v2.2.4-44-gc2bdda8,
Gary V. Vaughan <=