1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

tools/general_assembly: restore printing HEAD

This commit is contained in:
Anton Khirnov 2023-11-23 10:10:16 +01:00
parent 56a8b34b64
commit 2020ef9770

View File

@ -139,5 +139,7 @@ foreach my $name (sort keys %assembly) {
my $out_str = join("\n", @out_lines) . "\n";
utf8::encode($out_str);
printf("# GA for $since/$until; %d people; SHA256:%s\n%s",
scalar @out_lines, Digest::SHA::sha256_hex($out_str), $out_str);
printf("# GA for $since/$until; %d people; SHA256:%s; HEAD:%s%s",
scalar @out_lines, Digest::SHA::sha256_hex($out_str),
decode('UTF-8', `git rev-parse HEAD`, Encode::FB_CROAK),
$out_str);