OmniaGM commented on PR #16679:
URL: https://github.com/apache/kafka/pull/16679#issuecomment-2248136063

   Nice PR one problem with the used command is that any one that has same 
email but different name attached to the commit don't count as one person. 
   
   I tried this 
   ```
   git shortlog --email --numbered --summary --since=2023-07-24 | awk '
   {
     # Extract email (the part between < and >)
     match($0, /<[^>]*>/);
     email = substr($0, RSTART+1, RLENGTH-2);
   
     # Add to the associative array
     commits[email] += $1;
   }
   
   END {
     # Print the result
     for (email in commits) {
       print commits[email], email;
     }
   }
   ' | sort -nr
   ```
   
   and got slightly different order.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to