Merge pull request #142 from cam-rod/timezone-format

Update formatting and sort commits by timezone
This commit is contained in:
arzzen 2023-12-22 16:18:52 +01:00 committed by GitHub
commit d33ede9bcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -905,9 +905,9 @@ function commitsByTimezone() {
fi
echo -e "Commits\tTimeZone"
git -c log.showSignature=false shortlog -n $_merges --format='%ad %s' \
git -c log.showSignature=false log $_merges --format='%ad %s' \
"${_author}" "$_since" "$_until" --date=iso $_log_options $_pathspec \
| cut -d " " -f 12 | grep -v -e '^[[:space:]]*$' | sort | uniq -c
| cut -d " " -f 3 | grep -v -e '^[[:space:]]*$' | sort -n | uniq -c
}
################################################################################