[Xfce4-commits] <xfce-git-hooks:master> Don't require a space in author names. There are commits without one.

Jannis Pohlmann noreply at xfce.org
Sat Oct 17 18:24:01 CEST 2009


Updating branch refs/heads/master
         to 81e1d778d8f8b76c64adb144f664cb4457a31de9 (commit)
       from d68f786a8e478382ff910376aa4b7ab2a3daf344 (commit)

commit 81e1d778d8f8b76c64adb144f664cb4457a31de9
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sat Oct 17 18:21:37 2009 +0200

    Don't require a space in author names. There are commits without one.
    
    Unfortunately, there are a few test commits from Transifex where the
    author was set to 'jannis' which breaks pushing new branches to Thunar
    due to the check for a space in the author name. I'll remove it for now
    until we come up with something better.

 hooks/update-01-history-integrity |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/hooks/update-01-history-integrity b/hooks/update-01-history-integrity
index 8549c35..f3a317c 100755
--- a/hooks/update-01-history-integrity
+++ b/hooks/update-01-history-integrity
@@ -49,9 +49,7 @@ committer_info_ok() {
         email=`git log --pretty=format:%ae $rev`
     fi
 
-    # right now i require a space in the name.  we might want to allow
-    # people more... anonymity.  but maybe not.
-    if [ -z "$name" ] || ! echo $name | grep -q ' '; then
+    if [ -z "$name" ]; then
         echo "Please set user.name in your git config to something sane." >&2
         return 1
     fi



More information about the Xfce4-commits mailing list