Question: Given the git repository, show the files modified by a specific set of users, as well as the latest editor (from this set of users) of these files.
Potential solution:
git ls-files | xargs -n 1 git log -1 --author="example.com" --name-only --pretty=format:'%aN' --follow -p | paste -d";" - -
This will give the desired result (below), but slow:
<author_a>;<file_a> <author_b>;<file_b> <author_b>;<file_c> ...
Is there a faster / better way to do this?
source share