Skip to content

Instantly share code, notes, and snippets.

@dmalikov
Created January 28, 2014 20:52
Show Gist options
  • Save dmalikov/8676161 to your computer and use it in GitHub Desktop.
Save dmalikov/8676161 to your computer and use it in GitHub Desktop.
analogue of github contributors stats
#!/bin/bash
# wow so bash such fast very O(n^2*log(n)^2)
for author in `git log --format='%ae' | sort -u`; do
changes=`git log --author=$author --pretty=tformat: --numstat | awk '{ add += $1 ; subs += $2 } END { printf "%s ++ / %s --\n",add,subs }'`
commits=`git log --author=$author --oneline | wc -l`
echo "$author: $commits commits / $changes"
done | sort -rn -k2
@williamdrewe
Copy link

Hello Are you financially down? Looking for a LOAN ? We offer
Personal Loans, Business Loans,Student Loans,Car Loans And Loans To Pay
Off Bills from $1000 to $7,000,000.00, dollar/euro, at 3% interest
rate.
Loans must be for legitimate and legal purpose. If you need financial
help/Loans contact us directly now at: kuytsmithloanfirm@gmail.com
Regards,
Mr Martins for the company.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment