Created
October 25, 2019 13:09
-
-
Save barrucadu/1058ee84aac0c86104831026f318a46b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for hash in $(git log --format='%H' --no-merges [email protected]); do | |
msg_len=$(git show --format='%B' --no-patch $hash | wc -c) | |
full_len=$(git show --format='%B' $hash | wc -c) | |
echo -e "$(echo "($full_len - $msg_len) / $msg_len" | bc -l)\t$(git show --oneline --no-patch $hash)" | |
done | sort -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment