4

I set reviewers for my pull requests very often. To choose the reviewer, I want to find the person who contributed most to the changed files.

I found a similar approach in this answer which summarizes by commit count per user:

git shortlog -sn -- path/to/file

but I'm more interested in finding a summary on existing lines of code. what's the best way to do that?

Imtiaz Sakib
  • 1,231
  • 11
  • 8

0 Answers0