[SCM] Samba Shared Repository - branch master updated

Andrew Tridgell tridge at samba.org
Wed Nov 10 16:57:02 MST 2010


The branch, master has been updated
       via  c4c230b autobuild: perfer to use git mail address in autobuild comment
      from  ec50db6 s4-smbtorture: use test_GetPrinterData{Ex}_checktype calls in RPC-SPOOLSS tests.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c4c230bd0fb25a0433e36c4e4a315268ff44fbe0
Author: Björn JACKE <bj at SerNet.DE>
Date:   Thu Nov 11 10:12:07 2010 +1100

    autobuild: perfer to use git mail address in autobuild comment
    
    Signed-off-by: Andrew Tridgell <tridge at samba.org>
    
    Autobuild-User: Andrew Tridgell <tridge at samba.org>
    Autobuild-Date: Wed Nov 10 23:56:37 UTC 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 script/commit_mark.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/script/commit_mark.sh b/script/commit_mark.sh
index 93a345b..8495808 100755
--- a/script/commit_mark.sh
+++ b/script/commit_mark.sh
@@ -7,9 +7,13 @@ if grep -q '^Autobuild.User' "$1"; then
 fi
 
 fullname=$(getent passwd $USER | cut -d: -f5| cut -d',' -f1)
+mailaddr=$(git config user.email)
+if test -z "$mailaddr" ; then
+	mailaddr="$USER at samba.org"
+fi
 cat <<EOF >> "$1"
 
-Autobuild-User: $fullname <$USER at samba.org>
+Autobuild-User: $fullname <$mailaddr>
 Autobuild-Date: $(date) on $(hostname)
 EOF
 exit 0


-- 
Samba Shared Repository


More information about the samba-cvs mailing list