Created
January 25, 2022 00:50
-
-
Save rossbar/3f45c43a05df16fa8bb9012704470def to your computer and use it in GitHub Desktop.
Generate per-line author data for pony factor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace `main` with name of default branch of repo @ pwd and output | |
for f in $(git ls-tree -r main --name-only); do git blame $f --line-porcelain | grep -I "^author " | cut -d" " -f2- >> authorship_by_line.txt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment