X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/a5f391c20e8994a779920fe09e4dc4f4470ac85485eae059b1911ec05dd02693..df13f9818cca65a334738d144914079ce3dc01beb08c069177a194ef8e448e8b:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 83c4f09..b6f6236 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -5192,15 +5192,15 @@ sub git_summary { } sub git_tag { - my $head = git_get_head_hash($project); - git_header_html(); - git_print_page_nav('','', $head,undef,$head); my %tag = parse_tag($hash); if (! %tag) { die_error(404, "Unknown tag object"); } + my $head = git_get_head_hash($project); + git_header_html(); + git_print_page_nav('','', $head,undef,$head); git_print_header_div('commit', esc_html($tag{'name'}), $hash); print "
\n" . "\n" .