summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorLibravatar Simon Arlott <simon@fire.lp0.eu>2009-03-29 20:34:50 +0100
committerLibravatar Eric Wong <normalperson@yhbt.net>2009-03-29 15:42:00 -0700
commit18d5cf908fe89c780872acc8a9f11d061e4556b6 (patch)
tree8d24111fb7b6b72f392528c7a8a92501a37a4a2c /git-svn.perl
parentgit-svn: fix ls-tree usage with dash-prefixed paths (diff)
downloadtgif-18d5cf908fe89c780872acc8a9f11d061e4556b6.tar.xz
git-svn: don't output git commits in quiet mode
Ideally only errors should be output in this mode so fetch can be run from cron and normally produce no output. Without this change it would output a single line on each git commit, e.g. r1909 = 32ef87860662526d4a62f903949ed21e0341079e (u2_10_12_branch) Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-svn.perl b/git-svn.perl
index f21cfb462d..e5c3dfe5d2 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -2331,13 +2331,13 @@ sub do_git_commit {
$self->{last_rev} = $log_entry->{revision};
$self->{last_commit} = $commit;
- print "r$log_entry->{revision}";
+ print "r$log_entry->{revision}" unless $::_q;
if (defined $log_entry->{svm_revision}) {
- print " (\@$log_entry->{svm_revision})";
+ print " (\@$log_entry->{svm_revision})" unless $::_q;
$self->rev_map_set($log_entry->{svm_revision}, $commit,
0, $self->svm_uuid);
}
- print " = $commit ($self->{ref_id})\n";
+ print " = $commit ($self->{ref_id})\n" unless $::_q;
if (--$_gc_nr == 0) {
$_gc_nr = $_gc_period;
gc();