Permalink
Browse files

Realigned parameters

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...
1 parent f353c8f commit 6314d8abb022b91b8fff7c0427fc5526fa941a04 @dpwright dpwright committed Jul 23, 2012
Showing with 42 additions and 42 deletions.
  1. +7 −7 lib/SVN/Notify.pm
  2. +35 −35 t/options.t
View
14 lib/SVN/Notify.pm
@@ -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} )
View
70 t/options.t
@@ -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) {

0 comments on commit 6314d8a

Please sign in to comment.