git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] statplot: a tool for mining repository statistics.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 1, 2007, 18:30 UTC
Message-ID
<20070301183004.GB8858@spearce.org>
In-Reply-To
<81b0412b0703010158i1a3963f4wabda2f72c1fd0bc4@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> wrote:
Show 10 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. ;-)

Horribly simple code.  Maybe too dumb for inclusion in git.git.
-- 
Shawn.
Previous: Alex RiesenNext: Alex Riesen
Message 3 of 6 in “statplot: a tool for mining repository statistics.”
  1. statplot: a tool for mining repository statistics.Shawn O. Pearce, Mar 1, 2007
  2. Alex RiesenMar 1, 2007
  3. Shawn O. PearceMar 1, 2007
  4. Alex RiesenMar 1, 2007
  5. Jakub NarebskiMar 2, 2007
  6. Johannes SchindelinMar 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.