From 9c70fc2164f5852913536fc7af14a93e9c783a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 8 Jul 2020 17:31:43 +0200 Subject: [PATCH] git-contrib: simplify implementation a bit --- tools/git-contrib.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/git-contrib.sh b/tools/git-contrib.sh index b40e97ba62..cc0f99169c 100755 --- a/tools/git-contrib.sh +++ b/tools/git-contrib.sh @@ -2,8 +2,5 @@ set -eu git shortlog -s `git describe --abbrev=0`.. | \ - cut -c8- | \ - sed 's/ / /g' | \ - awk '{ print $$0 "," }' | \ - sed -e 's/ / /g' | \ + awk '{ $1=""; print $0 "," }' | \ sort -u