]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commitdiff
Get the developer count right even without full patch info
authorJonathan Corbet <corbet@lwn.net>
Fri, 24 Jul 2009 23:11:41 +0000 (17:11 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 24 Jul 2009 23:11:41 +0000 (17:11 -0600)
gitdm

diff --git a/gitdm b/gitdm
index b7f886844e90493c2c6a18012760a14bd40e9e3d..0d5f8b1f667d1c8c69e21aea4ef2dbc1906419f9 100755 (executable)
--- a/gitdm
+++ b/gitdm
@@ -363,7 +363,7 @@ hlist = database.AllHackers ()
 elist = database.AllEmployers ()
 ndev = nempl = 0
 for h in hlist:
-    if max (h.added, h.removed) > 0:
+    if len (h.patches) > 0:
         ndev += 1
 for e in elist:
     if e.count > 0: