From 639210660edf8abf9d1baa59bb29808faf35e0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20HUBSCHER?= Date: Fri, 11 Sep 2015 20:14:36 +0200 Subject: [PATCH] Make sure git-authors doesn't return twice the same one. --- bin/git-authors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-authors b/bin/git-authors index 0996e3b..2e51aff 100755 --- a/bin/git-authors +++ b/bin/git-authors @@ -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]++' } #