[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] Revert "Correctly parse the paragraphs in watch file with format v5"



Title: GitLab

Louis-Philippe Véronneau pushed to branch master at lintian / lintian

Commits:

  • 32b0b207
    by Louis-Philippe Véronneau at 2025-09-17T15:33:23+00:00
    Revert "Correctly parse the paragraphs in watch file with format v5"
    
    This reverts commit 43b7d3c82b4d7396835bf3c31a58222c199ff3d5

1 changed file:

Changes:

  • lib/Lintian/Check/Debian/Watch.pm
    ... ... @@ -160,12 +160,12 @@ sub source {
    160 160
                 }
    
    161 161
             }else {
    
    162 162
                 if (length $line) {
    
    163
    -                $continued .= $line."\n";
    
    163
    +                $continued .= "\n".$line;
    
    164 164
                     next if @lines;
    
    165 165
                 }
    
    166 166
             }
    
    167 167
     
    
    168
    -        $line = $continued . ($standard>=$CURRENT_WATCH_VERSION? "":$line)
    
    168
    +        $line = $continued . ($standard>=$CURRENT_WATCH_VERSION? "\n":$line)
    
    169 169
               if length $continued;
    
    170 170
     
    
    171 171
             $continued = $EMPTY;
    


  • Reply to: