]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commitdiff
Fixed CSCount which should not count merges
authorGermán Póo-Caamaño <gpoo@gnome.org>
Thu, 23 Jun 2011 02:00:24 +0000 (19:00 -0700)
committerGermán Póo-Caamaño <gpoo@gnome.org>
Thu, 23 Jun 2011 02:27:47 +0000 (19:27 -0700)
Patches as well s Total* and Dates are counted only if the
changeset is not a merge. However, CSCount (ChangeSetCount)
was counting everything, which changes a bit the results.

Signed-off-by: Germán Póo-Caamaño <gpoo@gnome.org>
gitdm

diff --git a/gitdm b/gitdm
index 24b5c96a83df823151631514fe12b97bc1a6318c..41b250c6250b3ca317f982061c738953b2030081 100755 (executable)
--- a/gitdm
+++ b/gitdm
@@ -416,7 +416,7 @@ for logpatch in patches:
             hacker.addtested (p)
         for hacker in p.reports:
             hacker.addreport (p)
-    CSCount += 1
+        CSCount += 1
     csvdump.AccumulatePatch (p, Aggregate)
 print >> sys.stderr, 'Grabbing changesets...done       '