summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-24 11:26:01 -0700
committerJonathan Corbet <corbet@lwn.net>2009-07-24 13:57:59 -0600
commite7b9d7eba1641ad1586d9211b7bdc69d1b87b0c1 (patch)
tree2ad5c6d80e34966056879470a7ca8060c133395e
parent9aaac7a67d7ac26987bcef81c0c08dca48b5ec60 (diff)
gitdm: report issue when an email address is a "name"
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>
-rwxr-xr-xgitdm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gitdm b/gitdm
index 4cd1a8c..b7f8868 100755
--- 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