git-svn: correctly handle the -q flag in SVN::Git::Fetcher
Signed-off-by: Eric Wong <normalperson@yhbt.net>maint
parent
4e9f6cc78e
commit
9e3cdbd4f2
|
@ -1770,14 +1770,14 @@ sub delete_entry {
|
||||||
while (<$ls>) {
|
while (<$ls>) {
|
||||||
chomp;
|
chomp;
|
||||||
$self->{gii}->remove($_);
|
$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);
|
command_close_pipe($ls, $ctx);
|
||||||
$self->{empty}->{$path} = 0
|
$self->{empty}->{$path} = 0
|
||||||
} else {
|
} else {
|
||||||
$self->{gii}->remove($gpath);
|
$self->{gii}->remove($gpath);
|
||||||
print "\tD\t$gpath\n" unless $self->{q};
|
print "\tD\t$gpath\n" unless $::_q;
|
||||||
}
|
}
|
||||||
undef;
|
undef;
|
||||||
}
|
}
|
||||||
|
@ -1913,7 +1913,7 @@ sub close_file {
|
||||||
}
|
}
|
||||||
$fb->{pool}->clear;
|
$fb->{pool}->clear;
|
||||||
$self->{gii}->update($fb->{mode_b}, $hash, $path) or croak $!;
|
$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;
|
undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue