]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: remove title shortening heuristics
[Gitweb] / gitweb.perl
index 5d5401f5ace7bdaa6d0bf59c7c8e52dd41f4dc869179d0dea76183727fbec7e2..8c96a1dd0ab78384a91c40b8cde1a09478a2b6fd58f6127f3bd05e3657c4b807 100755 (executable)
@@ -3561,23 +3561,6 @@ sub parse_commit_text {
                $title =~ s/^    //;
                if ($title ne "") {
                        $co{'title'} = chop_str($title, 80, 5);
                $title =~ s/^    //;
                if ($title ne "") {
                        $co{'title'} = chop_str($title, 80, 5);
-                       # remove leading stuff of merges to make the interesting part visible
-                       if (length($title) > 50) {
-                               $title =~ s/^Automatic //;
-                               $title =~ s/^merge (of|with) /Merge ... /i;
-                               if (length($title) > 50) {
-                                       $title =~ s/(http|rsync):\/\///;
-                               }
-                               if (length($title) > 50) {
-                                       $title =~ s/(master|www|rsync)\.//;
-                               }
-                               if (length($title) > 50) {
-                                       $title =~ s/kernel.org:?//;
-                               }
-                               if (length($title) > 50) {
-                                       $title =~ s/\/pub\/scm//;
-                               }
-                       }
                        $co{'title_short'} = chop_str($title, 50, 5);
                        last;
                }
                        $co{'title_short'} = chop_str($title, 50, 5);
                        last;
                }
This page took 0.280555 seconds and 4 git commands to generate.