aboutsummaryrefslogtreecommitdiffstats
path: root/tools/general_assembly.pl
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-11-23 10:10:16 +0100
committerAnton Khirnov <anton@khirnov.net>2023-11-26 10:12:01 +0100
commit2020ef9770d6bdf4ed2d8a32595d0e70afd2db8f (patch)
tree95f028832431bbd6166213083638800397dd9a3e /tools/general_assembly.pl
parent56a8b34b64e47dde75314f1b648f3a6f7a325437 (diff)
downloadffmpeg-2020ef9770d6bdf4ed2d8a32595d0e70afd2db8f.tar.gz
tools/general_assembly: restore printing HEAD
Diffstat (limited to 'tools/general_assembly.pl')
-rwxr-xr-xtools/general_assembly.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl
index 3bf65f3405..13c13bb28f 100755
--- a/tools/general_assembly.pl
+++ b/tools/general_assembly.pl
@@ -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);