On 3/1/07, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote:
> 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). - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html