From: Ian Jackson Date: Sun, 8 Jan 2017 01:48:42 +0000 (+0000) Subject: dgit: config debugging: do not print ARRAY(0x...) X-Git-Tag: archive/debian/3.0~71 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=d9e7b9820d1c5cfeea2c5f41ee2aa704080af52c;ds=inline dgit: config debugging: do not print ARRAY(0x...) Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 562e4152..1cff277b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ dgit (3.0~) unstable; urgency=medium dgit-badcommit-fixup: * Do not investigate symrefs. Closes:#850547. + * Improve debugging output a bit. + Test suite: * Internal improvements. * badcommit-rewrite: Fix operation using installed version of fixup. diff --git a/dgit b/dgit index 2427f72c..5f37c114 100755 --- a/dgit +++ b/dgit @@ -659,7 +659,9 @@ sub git_get_config ($) { my ($c) = @_; foreach my $src (@gitcfgsources) { my $l = $gitcfgs{$src}{$c}; - printdebug"C $c ".(defined $l ? messagequote "'$l'" : "undef")."\n" + printdebug"C $c ".(defined $l ? + join " ", map { messagequote "'$_'" } @$l : + "undef")."\n" if $debuglevel >= 4; $l or next; @$l==1 or badcfg "multiple values for $c".