This is an automated email from the git hooks/post-receive script. mattia pushed a commit to branch master in repository devscripts.
commit c3c85fe93661848413ccba5da5f443c074bdbcf6 Author: Mattia Rizzolo <[email protected]> Date: Sat Nov 11 23:52:09 2017 +0100 debchange: redo indentation so it can make sense to me as well Signed-off-by: Mattia Rizzolo <[email protected]> --- scripts/debchange.pl | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/scripts/debchange.pl b/scripts/debchange.pl index 9b353d3..aea6025 100755 --- a/scripts/debchange.pl +++ b/scripts/debchange.pl @@ -1173,21 +1173,20 @@ if (($opt_i || $opt_n || $opt_bn || $opt_qa || $opt_R || $opt_s || $opt_team || if ($opt_stable || $opt_bpo || $opt_s) { my $previous_dist = $start; $previous_dist =~ s/^.*[+~]deb(\d+)u$/$1/; - if (defined $previous_dist and defined - $dists{$previous_dist}) { - if ($opt_s) { - $guessed_dist = $dists{$previous_dist} . '-security'; - } elsif ($opt_bpo) { - $guessed_dist = $dists{$previous_dist} . '-backports'; - } else { - $guessed_dist = $dists{$previous_dist}; - } - } elsif ($opt_s) { - $guessed_dist = $dists{$latest_dist} . '-security'; - } else { - # Fallback to using the previous distribution - $guessed_dist = $changelog->{Distribution}; - } + if (defined $previous_dist and defined $dists{$previous_dist}) { + if ($opt_s) { + $guessed_dist = $dists{$previous_dist} . '-security'; + } elsif ($opt_bpo) { + $guessed_dist = $dists{$previous_dist} . '-backports'; + } else { + $guessed_dist = $dists{$previous_dist}; + } + } elsif ($opt_s) { + $guessed_dist = $dists{$latest_dist} . '-security'; + } else { + # Fallback to using the previous distribution + $guessed_dist = $changelog->{Distribution}; + } } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
