Skip to content

Commit

Permalink
Realigned parameters
Browse files Browse the repository at this point in the history
The '--diff-content-type' parameter is longer than all the others, so it
spoiled the spacing.  This commit just adds whitespace to make
everything look nice and aligned again.
  • Loading branch information
dpwright committed Jul 23, 2012
1 parent f353c8f commit 6314d8a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
14 changes: 7 additions & 7 deletions lib/SVN/Notify.pm
Expand Up @@ -730,14 +730,14 @@ sub new {
unless $params{revision};

# Set up default values.
$params{svnlook} ||= $ENV{SVNLOOK} || $class->find_exe('svnlook');
$params{with_diff} ||= $params{attach_diff};
$params{verbose} ||= 0;
$params{encoding} ||= $params{charset} || 'UTF-8';
$params{svn_encoding} ||= $params{encoding};
$params{diff_encoding} ||= $params{svn_encoding};
$params{svnlook} ||= $ENV{SVNLOOK} || $class->find_exe('svnlook');
$params{with_diff} ||= $params{attach_diff};
$params{verbose} ||= 0;
$params{encoding} ||= $params{charset} || 'UTF-8';
$params{svn_encoding} ||= $params{encoding};
$params{diff_encoding} ||= $params{svn_encoding};
$params{diff_content_type} ||= $params{diff_content_type} || 'text/plain';
$params{sendmail} ||= $ENV{SENDMAIL} || $class->find_exe('sendmail')
$params{sendmail} ||= $ENV{SENDMAIL} || $class->find_exe('sendmail')
unless $params{smtp};

_usage( qq{Cannot find sendmail and no "smtp" parameter specified} )
Expand Down
70 changes: 35 additions & 35 deletions t/options.t
Expand Up @@ -18,42 +18,42 @@ my %testopts = (
);

my %params = (
set_sender => undef,
smtp => undef,
smtp_user => undef,
smtp_pass => undef,
smtp_port => undef,
smtp_tls => undef,
smtp_authtype => undef,
to_regex_map => undef,
to_email_map => undef,
from => undef,
user_domain => undef,
encoding => undef,
svn_encoding => undef,
diff_encoding => undef,
language => undef,
with_diff => undef,
attach_diff => undef,
diff_switches => undef,
set_sender => undef,
smtp => undef,
smtp_user => undef,
smtp_pass => undef,
smtp_port => undef,
smtp_tls => undef,
smtp_authtype => undef,
to_regex_map => undef,
to_email_map => undef,
from => undef,
user_domain => undef,
encoding => undef,
svn_encoding => undef,
diff_encoding => undef,
language => undef,
with_diff => undef,
attach_diff => undef,
diff_switches => undef,
diff_content_type => undef,
reply_to => undef,
subject_prefix => undef,
subject_cx => undef,
no_first_line => undef,
max_sub_length => undef,
max_diff_length => undef,
handler => undef,
filters => undef,
author_url => undef,
revision_url => undef,
ticket_map => undef,
ticket_url => undef,
ticket_regex => undef,
verbose => undef,
help => undef,
man => undef,
version => undef,
reply_to => undef,
subject_prefix => undef,
subject_cx => undef,
no_first_line => undef,
max_sub_length => undef,
max_diff_length => undef,
handler => undef,
filters => undef,
author_url => undef,
revision_url => undef,
ticket_map => undef,
ticket_url => undef,
ticket_regex => undef,
verbose => undef,
help => undef,
man => undef,
version => undef,
);

while (my ($k, $v) = each %testopts) {
Expand Down

0 comments on commit 6314d8a

Please sign in to comment.