Skip to content

Commit

Permalink
git-svn: wrap long lines in a few places
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Aug 8, 2008
1 parent 570d35c commit 222566e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ BEGIN
'color' => \$Git::SVN::Log::color,
'pager=s' => \$Git::SVN::Log::pager
} ],
'find-rev' => [ \&cmd_find_rev, "Translate between SVN revision numbers and tree-ish",
'find-rev' => [ \&cmd_find_rev,
"Translate between SVN revision numbers and tree-ish",
{} ],
'rebase' => [ \&cmd_rebase, "Fetch and rebase your working directory",
{ 'merge|m|M' => \$_merge,
Expand Down Expand Up @@ -231,7 +232,9 @@ BEGIN
my %opts = %{$cmd{$cmd}->[2]} if (defined $cmd);

read_repo_config(\%opts);
Getopt::Long::Configure('pass_through') if ($cmd && ($cmd eq 'log' || $cmd eq 'blame'));
if ($cmd && ($cmd eq 'log' || $cmd eq 'blame')) {
Getopt::Long::Configure('pass_through');
}
my $rv = GetOptions(%opts, 'help|H|h' => \$_help, 'version|V' => \$_version,
'minimize-connections' => \$Git::SVN::Migration::_minimize,
'id|i=s' => \$Git::SVN::default_ref_id,
Expand Down

0 comments on commit 222566e

Please sign in to comment.