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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-03-30 12:45:14 +02:00
parent 75e53df7e3
commit b242d2dec9

View file

@ -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