Browse Source

tools: Pretty print the credits

master
Christian Decker 4 years ago
parent
commit
f1962c1f4b
  1. 5
      devtools/credit

5
devtools/credit

@ -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…
Cancel
Save