[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. 2b38f5fd6e040f27abe7b325bff9b3b05fa35fb6

Antonio Terceiro terceiro at softwarelivre.org
Mon Oct 3 17:29:42 UTC 2011


The following commit has been merged in the master branch:
commit 2b38f5fd6e040f27abe7b325bff9b3b05fa35fb6
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Mon Oct 3 14:25:03 2011 -0300

    Config git based on DEBFULLNAME and DEBEMAIL

diff --git a/.mrconfig b/.mrconfig
index 216e8fe..ef5f0e9 100644
--- a/.mrconfig
+++ b/.mrconfig
@@ -7,7 +7,9 @@ lib=
         git clone git+ssh://git.debian.org/git/pkg-ruby-extras/$1.git &&
         cd $1 &&
         { git branch --track upstream remotes/origin/upstream || true; } &&
-        { git branch --track pristine-tar remotes/origin/pristine-tar || true; }
+        { git branch --track pristine-tar remotes/origin/pristine-tar || true; } &&
+        { test -z "$DEBFULLNAME" || git config user.name "$DEBFULLNAME" || true; } &&
+        { test -z "$DEBEMAIL" || git config user.email "$DEBEMAIL" || true; }
       }
       svn_checkout () {
         svn co /$1
diff --git a/make-mrconfig b/make-mrconfig
index 823e9bd..3cc8d1e 100755
--- a/make-mrconfig
+++ b/make-mrconfig
@@ -45,7 +45,9 @@ lib=
         git clone git+ssh://git.debian.org$GIT_REPODIR\$1.git &&
         cd \$1 &&
         { git branch --track upstream remotes/origin/upstream || true; } &&
-        { git branch --track pristine-tar remotes/origin/pristine-tar || true; }
+        { git branch --track pristine-tar remotes/origin/pristine-tar || true; } &&
+        { test -z \"\$DEBFULLNAME\" || git config user.name \"\$DEBFULLNAME\" || true; } &&
+        { test -z \"\$DEBEMAIL\" || git config user.email \"\$DEBEMAIL\" || true; }
       }
       svn_checkout () {
         svn co $SVN_REPODIR/\$1

-- 
pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list