mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-authors: remove trailing spaces
This commit is contained in:
parent
204406bd29
commit
f55690e702
|
|
@ -38,7 +38,7 @@ authors() {
|
|||
if $NO_EMAIL; then
|
||||
# eamil will be used to uniq authors.
|
||||
git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++' \
|
||||
| awk -F'<' '{print $1}'
|
||||
| awk -F'<' '{gsub(/ +$/, "", $1); print $1}'
|
||||
else
|
||||
git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue