]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commitdiff
gitdm: report issue when an email address is a "name"
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 24 Jul 2009 18:26:01 +0000 (11:26 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 24 Jul 2009 19:57:59 +0000 (13:57 -0600)
This probably means an incorrect commit message, it also
means that if it is not fixed, the category for this person is probably
going to be incorrect.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
gitdm

diff --git a/gitdm b/gitdm
index 4cd1a8cc0ad08b2d6ac15ae1a81c63b4cf6c9ec9..b7f886844e90493c2c6a18012760a14bd40e9e3d 100755 (executable)
--- a/gitdm
+++ b/gitdm
@@ -245,7 +245,11 @@ def grabpatch():
                 p.added += 1
                 continue
             if Prem.match (Line):
-                p.removed += 1        
+                p.removed += 1
+
+    if '@' in p.author.name:
+        print '%s is an author name, probably not what you want' % p.author.name
+
     #
     # Record some global information - but only if this patch had
     # stuff which wasn't ignored.  This work should be done