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

[lintian] 01/01: Remove ash from previous commit and add a changelog entry



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit e2eb877f599cc5c69b73b313c038daf5a7fd7b21
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Thu Apr 3 08:33:48 2014 +0200

    Remove ash from previous commit and add a changelog entry
    
    Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
 checks/cruft.pm  | 1 -
 debian/changelog | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 40ed53d..2b08180 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -854,7 +854,6 @@ sub _linelength_test {
     my ($entry, $info, $name, $basename, $dirname, $path, $block) = @_;
     my $strip = $block;
     # from perl faq strip comments
-    #$strip =~ s#//[^\n]$//g
     $strip
       =~ s#/\*[^*]*\*+([^/*][^*]*\*+)*/|//([^\\]|[^\n][\n]?)*?(?=\n)|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^/"'\\]*)#defined $3 ? $3 : ""#gse;
     # strip empty line
diff --git a/debian/changelog b/debian/changelog
index cb5a594..9410812 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ lintian (2.5.22.2) UNRELEASED; urgency=medium
     + [BR] Detect sphinx generated documentation and avoid
       a false positive for minified javascript and missing sources.
       (Closes: #742693).
+    + [BR] Do not remove newline with c++ comments. Fix a false 
+      positive.
   * checks/init.d.{desc,pm}:
     + [BR] Detect $all virtual dependency in legacy
     init scripts, thanks to Holger Levsen

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: