summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4f82101)
raw | patch | inline | side by side (parent: 4f82101)
author | Simon Arlott <simon@fire.lp0.eu> | |
Sun, 29 Mar 2009 19:34:50 +0000 (20:34 +0100) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sun, 29 Mar 2009 22:42:00 +0000 (15:42 -0700) |
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>
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>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index f21cfb462d3d6d84a4c47bca3d5882ee20266ff7..e5c3dfe5d2c9d11c6225da725d86f343912f5782 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
$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();