threads / patch / 34056

patchcontrib: related: print the amount of involvement

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

## tl;dr

One message between Jun 7, 2013 and Jun 7, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Felipe Contreras· Jun 7, 2013, 22:07 UTC · lore

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(-)
Show changes to contrib/related/git-related +1 −1
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

← back to recent threads