git-svn: wrap long lines in a few places
Oops, I let a few patches slip by with long lines in them. Extracted from an unrelated patch by: Marcus Griep <marcus@griep.us> Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Eric Wong committed
Aug 8, 2008 at 01:41 UTC
222566e42cfc339b31db4757800cc387bcd8c20e
1 file changed
+5
-2
git-svn.perl
+5
-2
@@ -171,7 +171,8 @@ my %cmd = (
171
'color' => \$Git::SVN::Log::color,
172
'pager=s' => \$Git::SVN::Log::pager
173
} ],
174
- 'find-rev' => [ \&cmd_find_rev, "Translate between SVN revision numbers and tree-ish",
174
+ 'find-rev' => [ \&cmd_find_rev,
175
+ "Translate between SVN revision numbers and tree-ish",
176
{} ],
177
'rebase' => [ \&cmd_rebase, "Fetch and rebase your working directory",
178
{ 'merge|m|M' => \$_merge,
@@ -231,7 +232,9 @@ unless ($cmd && $cmd =~ /(?:clone|init|multi-init)$/) {
232
my %opts = %{$cmd{$cmd}->[2]} if (defined $cmd);
233
234
read_repo_config(\%opts);
234
-Getopt::Long::Configure('pass_through') if ($cmd && ($cmd eq 'log' || $cmd eq 'blame'));
235
+if ($cmd && ($cmd eq 'log' || $cmd eq 'blame')) {
236
+ Getopt::Long::Configure('pass_through');
237
+}
238
my $rv = GetOptions(%opts, 'help|H|h' => \$_help, 'version|V' => \$_version,
239
'minimize-connections' => \$Git::SVN::Migration::_minimize,
240
'id|i=s' => \$Git::SVN::default_ref_id,