This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
commit 9dab03c99a64cd15536f153e0705ec16e686c2d5 Author: Guillem Jover <[email protected]> Date: Thu Apr 12 05:52:02 2018 +0200 dpkg-source: Do not emit perl warnings on source formats w/o options At least the format "3.0 (native)" supports no format specific options, which makes the describe_cmdline_options() return an empty list. --- debian/changelog | 2 ++ scripts/dpkg-source.pl | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3542c13..0d4410b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -57,6 +57,8 @@ dpkg (1.19.1) UNRELEASED; urgency=medium using this new protocol, to safely lock the dpkg database w/o risk of race conditions with other dpkg instances or frontends supporting the same protocol. Thanks to Julian Andres Klode <[email protected]>. + * Do not emit perl warnings in dpkg-source --help on source formats w/o + options. * Architecture support: - Add support for riscv64 CPU. Closes: #822914 Thanks to Manuel A. Fernandez Montecelo <[email protected]> diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 5c356c3..107408d 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -578,6 +578,7 @@ sub get_format_help { $srcpkg->upgrade_object_type(); # Fails if format is unsupported my @cmdline = $srcpkg->describe_cmdline_options(); + return '' unless @cmdline; my $help_build = my $help_extract = ''; my $help; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/dpkg/dpkg.git

