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

abe pushed a commit to branch master
in repository debsums.

commit d9a873cb7f37837a7921e30f4e79052314934880
Author: Ryan Niebur <ryanrya...@gmail.com>
Date:   Sun Aug 2 17:38:10 2009 -0700

    --silent with --ignore-permissions
---
 debsums.in | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debsums.in b/debsums.in
index 06d730c..af6bc62 100755
--- a/debsums.in
+++ b/debsums.in
@@ -82,7 +82,9 @@ sub can_ignore {
 
 sub warn_or_die {
   if(can_ignore()) {
-    warn $_[0];
+    unless($silent) {
+      warn $_[0];
+    }
   } else {
     die $_[0];
   }
@@ -279,10 +281,12 @@ sub is_replaced
                and $path =~ m!^usr/share/(?:man|locale)/([^/]+)/!
                and !$locales{$1};
 
-           warn "$self: can't open $pack file $root/$path ($!)\n";
+           my $err = "$self: can't open $pack file $root/$path ($!)\n";
             if(can_ignore()) {
+              warn $err unless($silent);
               return 0;
             } else {
+              warn $err;
               return 2;
             }
        }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/debsums.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to