@matheusbsbs / matheus-bagliano / commits / 9e3cdbd4f2
Fork 0

git-svn: correctly handle the -q flag in SVN::Git::Fetcher

Signed-off-by: Eric Wong <normalperson@yhbt.net>

Eric Wong committed Feb 9, 2007 at 12:23 UTC 9e3cdbd4f2e02bf63bfaa8f6e2747601f117cf2d
1 file changed +4 -4
git-svn.perl
+4 -4
@@ -1770,14 +1770,14 @@ sub delete_entry {
1770 while (<$ls>) {
1771 chomp;
1772 $self->{gii}->remove($_);
1773 - print "\tD\t$_\n" unless $self->{q};
1773 + print "\tD\t$_\n" unless $::_q;
1774 }
1775 - print "\tD\t$gpath/\n" unless $self->{q};
1775 + print "\tD\t$gpath/\n" unless $::_q;
1776 command_close_pipe($ls, $ctx);
1777 $self->{empty}->{$path} = 0
1778 } else {
1779 $self->{gii}->remove($gpath);
1780 - print "\tD\t$gpath\n" unless $self->{q};
1780 + print "\tD\t$gpath\n" unless $::_q;
1781 }
1782 undef;
1783 }
@@ -1913,7 +1913,7 @@ sub close_file {
1913 }
1914 $fb->{pool}->clear;
1915 $self->{gii}->update($fb->{mode_b}, $hash, $path) or croak $!;
1916 - print "\t$fb->{action}\t$path\n" if $fb->{action} && ! $self->{q};
1916 + print "\t$fb->{action}\t$path\n" if $fb->{action} && ! $::_q;
1917 undef;
1918 }
1919