]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
git-contrib: simplify implementation a bit
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 8 Jul 2020 15:31:43 +0000 (17:31 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 8 Jul 2020 15:31:43 +0000 (17:31 +0200)
tools/git-contrib.sh

index b40e97ba624088b0535bd38e5af28a44b6f8f28e..cc0f99169c9c136c320148cb88fec68367e2c28a 100755 (executable)
@@ -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