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

[PATCH] contrib: related: print the amount of involvement

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 7, 2013, 22:07 UTC
Message-ID
<1370642864-32544-1-git-send-email-felipe.contreras@gmail.com>

100% means the person was involved in all the commits, in one way or the other.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
It's barely useful for me without this.
This sits on top of the last git-related series.
 contrib/related/git-related | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index bded6f6..f0bda55 100755
--- a/contrib/related/git-related
+++ b/contrib/related/git-related
@@ -168,5 +168,5 @@ end
 count_per_person.each do |person, count|
   percent = count.to_f * 100 / commits.size
   next if percent < $min_percent
-  puts person
+  puts '%s (involved: %u%%)' % [person, percent]
 end
-- 
1.8.3.698.g079b096
Message 1 of 1 in “contrib: related: print the amount of involvement”
  1. contrib: related: print the amount of involvementFelipe Contreras, Jun 7, 2013

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.