improve output of authors script
This commit is contained in:
parent
323db98318
commit
e3cf088d69
2
.mailmap
2
.mailmap
|
@ -13,4 +13,4 @@ csoft2k <csoft2k@hotmail.com>
|
||||||
Sergio Pulgarin <sergio.pulgarin@gmail.com>
|
Sergio Pulgarin <sergio.pulgarin@gmail.com>
|
||||||
reck31 <rakesh.gunduka@gmail.com>
|
reck31 <rakesh.gunduka@gmail.com>
|
||||||
Alex Debiasio <alex.debiasio@thinkin.io> <alex.debiasio@studenti.unitn.it>
|
Alex Debiasio <alex.debiasio@thinkin.io> <alex.debiasio@studenti.unitn.it>
|
||||||
Maximilian Wagenbach <maximilian.wagenbach@native-instruments.de> <maximilian.wagenbach@native-instruments.de>
|
Maximilian Wagenbach <maximilian.wagenbach@native-instruments.de>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
GENLIST=$(git shortlog -s -n | cut -f2 | sort -f)
|
GENLIST=$(git shortlog -s -n | cut -f2 | sort -f)
|
||||||
|
GENLIST_W_MAIL=$(git shortlog -s -e -n | cut -f2 | sort -f)
|
||||||
AUTHORSFILE="$(dirname $0)/../AUTHORS"
|
AUTHORSFILE="$(dirname $0)/../AUTHORS"
|
||||||
TEMPAUTHORSFILE="/tmp/python-escpos-authorsfile"
|
TEMPAUTHORSFILE="/tmp/python-escpos-authorsfile"
|
||||||
|
|
||||||
|
@ -13,6 +14,8 @@ if [ "$#" -eq 1 ]
|
||||||
cat $TEMPAUTHORSFILE
|
cat $TEMPAUTHORSFILE
|
||||||
echo "\nUsing diff on files...\n"
|
echo "\nUsing diff on files...\n"
|
||||||
diff --suppress-common-lines -b --from-file $AUTHORSFILE $TEMPAUTHORSFILE
|
diff --suppress-common-lines -b --from-file $AUTHORSFILE $TEMPAUTHORSFILE
|
||||||
|
echo "Authors with mail addresses:\n"
|
||||||
|
echo "$GENLIST_W_MAIL"
|
||||||
else
|
else
|
||||||
echo "$GENLIST">$AUTHORSFILE
|
echo "$GENLIST">$AUTHORSFILE
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue