From: Zbigniew Jędrzejewski-Szmek Date: Tue, 30 Mar 2021 10:45:14 +0000 (+0200) Subject: git-contrib: use non-breaking spaces in names X-Git-Tag: v248-2~3^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b242d2dec9bad65142fab66180b68a78cdb0f570;p=thirdparty%2Fsystemd.git git-contrib: use non-breaking spaces in names Some people have initials or abbreviated parts in the name and looks strange when a line break occurs in the middle. Let's keep each name in one line. --- diff --git a/tools/git-contrib.sh b/tools/git-contrib.sh index 23012a587ac..4b680d28025 100755 --- a/tools/git-contrib.sh +++ b/tools/git-contrib.sh @@ -2,6 +2,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later set -eu -git shortlog --author=noreply@weblate.org --invert-grep -s `git describe --abbrev=0 --match 'v[0-9][0-9][0-9]'`.. | \ - awk '{ $1=""; print $0 "," }' | \ +tag="$(git describe --abbrev=0 --match 'v[0-9][0-9][0-9]')" +git log --pretty=tformat:%aN --author=noreply@weblate.org --invert-grep -s "${tag}.." | \ + sed 's/ / /g; s/--/-/g; s/.*/ \0,/' | sort -u