[debhelper-devel] [debhelper] 02/04: Revert "t/size: Ignore empty lines when counting size of a tool"

Niels Thykier nthykier at moszumanska.debian.org
Mon Dec 29 09:23:26 UTC 2014


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

nthykier pushed a commit to branch master
in repository debhelper.

commit d6cbbf14973740ddf414123696be977ce1f4732a
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Dec 29 10:14:31 2014 +0100

    Revert "t/size: Ignore empty lines when counting size of a tool"
    
    This reverts commit 93d8ba917f5bcb972cc1c791d4ba892277554fb3.
---
 t/size | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/size b/t/size
index bf7847d..d8b9896 100755
--- a/t/size
+++ b/t/size
@@ -18,7 +18,7 @@ foreach my $file (@progs) {
 	while (<IN>) {
 		$cutting=1 if /^=/;
 		$cutting=0 if /^=cut/;
-		next if $cutting || /^(=|\s*\#)/ || /^\s*+$/;
+		next if $cutting || /^(=|\s*\#)/;
 		$lines++;
 		$maxlength=length($_) if length($_) > $maxlength;
 	}

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




More information about the debhelper-devel mailing list