]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Normalize searchbar font size
[Gitweb] / gitweb.perl
index 31152980df847bdabc4078b741d3e4910c40f883fce3ac2854e7a5f727ff2be3..86a8bab41b7d40f863a9290223f405a4ddc8be18320abe445b2c2be15dba6467 100755 (executable)
@@ -1904,6 +1904,8 @@ EOF
                }
                print "\n";
        }
+       print "</div>\n";
+
        my ($have_search) = gitweb_check_feature('search');
        if ((defined $project) && ($have_search)) {
                if (!defined $searchtext) {
@@ -1933,7 +1935,6 @@ EOF
                      "</div>" .
                      $cgi->end_form() . "\n";
        }
-       print "</div>\n";
 }
 
 sub git_footer_html {
@@ -2723,8 +2724,9 @@ sub git_patchset_body {
                                        delete $from{'href'};
                                }
                        }
+
                        $to{'file'} = $diffinfo->{'to_file'} || $diffinfo->{'file'};
-                       if ($diffinfo->{'status'} ne "D") { # not deleted file
+                       if ($diffinfo->{'to_id'} ne ('0' x 40)) { # file exists in result
                                $to{'href'} = href(action=>"blob", hash_base=>$hash,
                                                   hash=>$diffinfo->{'to_id'},
                                                   file_name=>$to{'file'});
This page took 0.223996 seconds and 4 git commands to generate.