Skip to content

Commit

Permalink
git-svn: correctly handle the -q flag in SVN::Git::Fetcher
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Wong <normalperson@yhbt.net>
  • Loading branch information
Eric Wong committed Feb 23, 2007
1 parent 4e9f6cc commit 9e3cdbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1770,14 +1770,14 @@ sub delete_entry {
while (<$ls>) {
chomp;
$self->{gii}->remove($_);
print "\tD\t$_\n" unless $self->{q};
print "\tD\t$_\n" unless $::_q;
}
print "\tD\t$gpath/\n" unless $self->{q};
print "\tD\t$gpath/\n" unless $::_q;
command_close_pipe($ls, $ctx);
$self->{empty}->{$path} = 0
} else {
$self->{gii}->remove($gpath);
print "\tD\t$gpath\n" unless $self->{q};
print "\tD\t$gpath\n" unless $::_q;
}
undef;
}
Expand Down Expand Up @@ -1913,7 +1913,7 @@ sub close_file {
}
$fb->{pool}->clear;
$self->{gii}->update($fb->{mode_b}, $hash, $path) or croak $!;
print "\t$fb->{action}\t$path\n" if $fb->{action} && ! $self->{q};
print "\t$fb->{action}\t$path\n" if $fb->{action} && ! $::_q;
undef;
}

Expand Down

0 comments on commit 9e3cdbd

Please sign in to comment.