Skip to content

Commit

Permalink
git-contrib: use non-breaking spaces in names
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
keszybz committed Mar 30, 2021
1 parent 75e53df commit b242d2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/git-contrib.sh
Expand Up @@ -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

0 comments on commit b242d2d

Please sign in to comment.