tools/general_assembly: restore printing HEAD

release/7.0
Anton Khirnov 1 year ago
parent 56a8b34b64
commit 2020ef9770
  1. 6
      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);

Loading…
Cancel
Save