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

Re: Effectively tracing project contributions with git

From
JWJoseph Wakeling <joseph.wakeling@webdrake.net>
Date
Sep 13, 2009, 00:10 UTC
Message-ID
<4AAC3889.6030908@webdrake.net>
In-Reply-To
<fabb9a1e0909121203r527bc81ctd68382fc1107bf06@mail.gmail.com>
Sverre Rabbelier wrote:
Show 7 quoted lines
> Git stats can aggregate diffs, so it can show you "this author made
> changes to this many lines to this file in total", but it doesn't work
> across renames. It also has an option to aggregate that to a total per
> project number, but I'm not sure how useful that is to your case, as
> you seem to be interested in a per-file/line basis? I agree with Jeff
> that you'll need to define more precisely what it is you want to know
> :).

That would certainly be a very useful function -- it wouldn't solve my problem for me but would make it easier to identify core authors. After all, 'number of commits' doesn't necessarily correspond to meaningful contribution -- many of them could be editorial -- but number of lines (or the ratio of lines to commits) could be a much better indicator.

I don't see any solution that doesn't see me browsing diffs -- there's no metric that will solve the problem -- but if your stats work could help me get an output of the form 'here are all the diffs on file X by contributor Y in order of size, largest first' then I think it would help a LOT.

Is there a website where I can read more about your stats/metrics work?
 Beyond the applications to the present problem I have some other
reasons to be very interested in what can be done with git history stats.
Thanks & best wishes,
    -- Joe
Previous: Sverre RabbelierNext: Theodore Tso
Message 4 of 8 in “Effectively tracing project contributions with git”
  1. Joseph WakelingSep 12, 2009
  2. Jeff KingSep 12, 2009
  3. Sverre RabbelierSep 12, 2009
  4. Joseph WakelingSep 13, 2009
  5. Theodore TsoSep 13, 2009
  6. Jeff KingSep 13, 2009
  7. Joseph WakelingSep 13, 2009
  8. Joseph WakelingSep 13, 2009

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.