mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
tools: Pretty print the credits
This commit is contained in:
parent
46cd5d8923
commit
f1962c1f4b
@ -48,11 +48,12 @@ while read LINE; do
|
||||
fi
|
||||
fi
|
||||
if [ -n "$NOTES" ] || $VERBOSE; then
|
||||
echo "$COUNT $NAME $EMAIL $NOTES"
|
||||
echo " - $COUNT $NAME $EMAIL $NOTES"
|
||||
fi
|
||||
done < /tmp/authors.$$
|
||||
|
||||
DAYS=$(( ( $(date +%s) - $(git log "$PREV_TAG" --format=%at | head -n1) ) / (3600*24) ))
|
||||
|
||||
echo "$TOTAL commits in $DAYS days"
|
||||
AUTHORS=$(cat /tmp/authors.$$ | wc -l)
|
||||
echo "$TOTAL commits in $DAYS days by $AUTHORS authors"
|
||||
rm /tmp/authors.$$ /tmp/namers.$$ /tmp/prev-authors.$$
|
||||
|
Loading…
Reference in New Issue
Block a user