Package: gitweb
Version: 1:1.8.3.2-1
Tags: upstream

Hi,

>From <http://git.debian.org/?p=users/jrnieder-guest/git.git;h=90967847>:

        debian/watch: downloads from  are available again

        Now they are uploaded using "kup" and recompressed in a variety of
        formats on the server side.  Use the xz compressed copy to lessen
        the load on mirrors.

In the page source, I see "downloads&nbsp;from&nbsp;&nbsp;" etc.  A
word from the true commit message has gone missing.

Turns out this behavior comes from the early days of gitweb:

        $ git log -1 -p -L:git_read_commit:gitweb.cgi 19806691
        commit 19806691
        Author: Kay Sievers <kay.siev...@suse.de>
        Date:   Sun Aug 7 20:26:27 2005 +0200

            v203
[...]
        +                       # 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//;
        +                               }
        +                       }

Probably it would be best to just rip these heuristics out (or make
them conditional).


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to