Merge pull request #443 from Natim/patch-1

Make sure git-authors doesn't return twice the same ones.
This commit is contained in:
hemanth.hm 2015-09-22 11:44:40 +05:30
commit 332bec0f1a

View file

@ -21,7 +21,7 @@ fi
#
authors() {
git shortlog -sne | awk '{$1=""; sub(" ", ""); print}'
git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++'
}
#