From: Daniel Stenberg Date: Fri, 6 Sep 2024 06:47:06 +0000 (+0200) Subject: scripts/delta: output bugfixes/day X-Git-Tag: curl-8_10_0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6db8cd8bbd36c8887b73f6a1af0c834e0b38a7;p=thirdparty%2Fcurl.git scripts/delta: output bugfixes/day --- diff --git a/scripts/delta b/scripts/delta index 8f99901e24..43bc25ce1b 100755 --- a/scripts/delta +++ b/scripts/delta @@ -140,9 +140,9 @@ close(F); # Produce the summary print "== Since $start $taggednice ==\n"; +my $days = $elapsed / 3600 / 24; printf "Elapsed time: %.1f days (total %d)\n", - $elapsed / 3600 / 24, - $total / 3600 / 24; + $days, $total / 3600 / 24; printf "Commits: %d (total %d)\n", $commits, $acommits; printf "Commit authors: %d, %d new (total %d)\n", @@ -156,7 +156,8 @@ printf "New curl_easy_setopt() options: %d (total %d)\n", printf "New command line options: %d (total %d)\n", $noptions, $aoptions; printf "Changes logged: %d\n", $numchanges; -printf "Bugfixes logged: %d\n", $numbugfixes; +printf "Bugfixes logged: %d (%.2f per day)\n", + $numbugfixes, $numbugfixes / $days; printf "Added files: %d (total %d)\n", $creates, $afiles; printf "Deleted files: %d (delta: %d)\n", $deletes,