Skip to content

Add pluggable "contributors since..." bash script to /tools folder #1493

@Aaronontheweb

Description

@Aaronontheweb

Need to take this bash script that @Horusiath came up with:

git log v1.0.4..HEAD --oneline --numstat --pretty=format:%an --no-merges --abbrev-commit | gawk 'author == "" { author = $0; next } /^$/ { author = ""; next} {added[author] += $1; removed[author] +=$2 } END { for(author in added) { printf "%s\t%s\t%s\t%s\n", added[author]+removed[author], added[author], removed[author], author } }' | sort -n -k1 -r

And save it as a bash shell script to the tools folder, but with the following modifications

  • the part that says v1.0.4 needs to be a parameter

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions