summaryrefslogtreecommitdiff
path: root/tools/git-contrib.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-08 17:31:43 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-08 17:31:43 +0200
commit9c70fc2164f5852913536fc7af14a93e9c783a8d (patch)
treeb571404f8d15ecc1350779c15109886d97d25866 /tools/git-contrib.sh
parent24e2494407cb5a88ee81fc238195687e5e0b8a09 (diff)
downloadsystemd-9c70fc2164f5852913536fc7af14a93e9c783a8d.tar.gz
git-contrib: simplify implementation a bit
Diffstat (limited to 'tools/git-contrib.sh')
-rwxr-xr-xtools/git-contrib.sh5
1 files changed, 1 insertions, 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