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

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=3652049734f88e3e5a2e9ef840efc3f6972b3386

commit 3652049734f88e3e5a2e9ef840efc3f6972b3386
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Dec 21 23:53:48 2022 +0100

    Dpkg::Source::Package::V3::Git: Move error() argument out of g_() call
    
    The $file argument should be part of the error() arguments not the g_()
    arguments.
---
 scripts/Dpkg/Source/Package/V3/Git.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Source/Package/V3/Git.pm 
b/scripts/Dpkg/Source/Package/V3/Git.pm
index f149b0efa..721036a6b 100644
--- a/scripts/Dpkg/Source/Package/V3/Git.pm
+++ b/scripts/Dpkg/Source/Package/V3/Git.pm
@@ -236,7 +236,7 @@ sub do_extract {
                 error(g_('format v3.0 (git) uses only one .gitshallow file'));
             }
         } else {
-            error(g_('format v3.0 (git) unknown file: %s', $file));
+            error(g_('format v3.0 (git) unknown file: %s'), $file);
         }
     }
     if (! defined $bundle) {

-- 
Dpkg.Org's dpkg

Reply via email to