summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-09 20:23:47 (GMT)
committerEric Wong <normalperson@yhbt.net>2007-02-23 08:57:12 (GMT)
commit9e3cdbd4f2e02bf63bfaa8f6e2747601f117cf2d (patch)
treebf1c7bd5b58d4c4eff672b2807e1e38a4819dd22 /git-svn.perl
parent4e9f6cc78e5d955bd0faffe76ae9aea6590189f1 (diff)
downloadgit-9e3cdbd4f2e02bf63bfaa8f6e2747601f117cf2d.zip
git-9e3cdbd4f2e02bf63bfaa8f6e2747601f117cf2d.tar.gz
git-9e3cdbd4f2e02bf63bfaa8f6e2747601f117cf2d.tar.bz2
git-svn: correctly handle the -q flag in SVN::Git::Fetcher
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 7664b38..ed363e9 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -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;
}
@@ -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;
}