From: Germán Póo-Caamaño Date: Thu, 23 Jun 2011 02:00:24 +0000 (-0700) Subject: Fixed CSCount which should not count merges X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cf1e69b859b10929c09743987d4b20294a2b1839;p=people%2Flarsk%2Fxenproject-org-gitdm.git Fixed CSCount which should not count merges 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 --- diff --git a/gitdm b/gitdm index 24b5c96..41b250c 100755 --- 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 '