]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts/delta: add number of days since first httpget release
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Jan 2025 22:48:48 +0000 (23:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Jan 2025 22:48:48 +0000 (23:48 +0100)
scripts/delta

index 43bc25ce1bc0c2ca817507f95dd31bcdb89ad177..82c2ba1e69e762dc1645a5a9657b341bb6481426 100755 (executable)
@@ -95,6 +95,7 @@ chomp $taggednice;
 $now=`date +%s`;
 $elapsed=$now - $tagged; # number of seconds since tag
 $total=$now - `date -d 19980320 +%s`;
+$totalhttpget=$now - `date -d 19961111 +%s`;
 
 # Number of public functions in libcurl
 $apublic=`git grep ^CURL_EXTERN -- include/curl | wc -l`;
@@ -141,8 +142,8 @@ close(F);
 
 print "== Since $start $taggednice ==\n";
 my $days = $elapsed / 3600 / 24;
-printf "Elapsed time:                   %.1f days (total %d)\n",
-    $days, $total / 3600 / 24;
+printf "Elapsed time:                   %.1f days (total %d / %d)\n",
+    $days, $total / 3600 / 24, $totalhttpget / 3600 / 24;
 printf "Commits:                        %d (total %d)\n",
     $commits, $acommits;
 printf "Commit authors:                 %d, %d new (total %d)\n",