Skip to content

Commit f55690e

Browse files
committed
git-authors: remove trailing spaces
1 parent 204406b commit f55690e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-authors

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ authors() {
3838
if $NO_EMAIL; then
3939
# eamil will be used to uniq authors.
4040
git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++' \
41-
| awk -F'<' '{print $1}'
41+
| awk -F'<' '{gsub(/ +$/, "", $1); print $1}'
4242
else
4343
git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++'
4444
fi

0 commit comments

Comments
 (0)