Re: [PATCH/RFC] statplot: a tool for mining repository statistics.
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Mar 1, 2007, 21:36 UTC
- Message-ID
- <81b0412b0703011336p324b3202k1ccabb7899238acd@mail.gmail.com>
- In-Reply-To
- <20070301183004.GB8858@spearce.org>
On 3/1/07, Shawn O. Pearce <spearce@spearce.org> wrote:
Show 16 quoted lines
> > Tried it on my repo but the program produced some records with > > all zeros. I.e.: > > 2005-11-10 6 222 235 463 1785888 > > 2005-11-11 3 34 2 39 9729 > > 2005-11-12 0 0 0 0 0 > > 2005-11-13 0 0 0 0 0 > > 2005-11-14 6 227 330 563 716230 > > 2005-11-15 3 121 209 333 1162839 > > > > What could this possibly mean? > > There were no new objects attributed to 12 and 13 of Nov, 2005. > The program allocates a zero'd array for every day in the entire > range, then increments each day with the number of objects introduced > by commit(s) on that day. It then just prints the entire array, > rather than only printing the non-zero lines. ;-)
oh, ok.
> Horribly simple code. Maybe too dumb for inclusion in git.git.
I still think it's good for something (I used it to quickly find days for weekly and monthly report).