Skip to content

Commit

Permalink
svn import: make -s option actually optional
Browse files Browse the repository at this point in the history
The -s option was accidentally not optional.

Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
  • Loading branch information
Matthias Urlichs committed Oct 11, 2005
1 parent 16e6859 commit 2fa9204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-svnimport.perl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ END
@ARGV <= 1 or usage();

$opt_o ||= "origin";
$opt_s ||= 1;
$opt_l = 100 unless defined $opt_l;
my $git_tree = $opt_C;
$git_tree ||= ".";
Expand Down Expand Up @@ -193,7 +194,7 @@ ($$)
my $maxnum = 0;
my $last_rev = "";
my $last_branch;
my $current_rev = $opt_s ? ($opt_s-1) : 0;
my $current_rev = $opt_s-1;
unless(-d $git_dir) {
system("git-init-db");
die "Cannot init the GIT db at $git_tree: $?\n" if $?;
Expand Down

0 comments on commit 2fa9204

Please sign in to comment.