Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

Re: [PATCH v2] gitweb: Do not show 'patch' link for merge commits

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:47:29

Jakub Narebski wrote:
quoted hunk ↗ jump to hunk
@@ -5616,7 +5616,7 @@ sub git_commitdiff {
                $formats_nav =
                        $cgi->a({-href => href(action=>"commitdiff_plain", -replay=>1)},
                                "raw");
-               if ($patch_max) {
+               if ($patch_max &&  && @{$co{'parents'}} <= 1) {
Gaaaah. It should be "&&", not "&&  &&".  I'm extremely sorry!
                        $formats_nav .= " | " .
                                $cgi->a({-href => href(action=>"patch", -replay=>1)},
                                        "patch");
-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help